Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
05f58131
Commit
05f58131
authored
May 09, 2013
by
Brad Morgan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renaming
parent
4ca3d6d2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
src/transports/ssh.c
+8
-8
No files found.
src/transports/ssh.c
View file @
05f58131
...
...
@@ -404,7 +404,7 @@ on_error:
return
-
1
;
}
static
int
_git
_uploadpack_ls
(
static
int
ssh
_uploadpack_ls
(
ssh_subtransport
*
t
,
const
char
*
url
,
git_smart_subtransport_stream
**
stream
)
...
...
@@ -415,7 +415,7 @@ static int _git_uploadpack_ls(
return
0
;
}
static
int
_git
_uploadpack
(
static
int
ssh
_uploadpack
(
ssh_subtransport
*
t
,
const
char
*
url
,
git_smart_subtransport_stream
**
stream
)
...
...
@@ -431,7 +431,7 @@ static int _git_uploadpack(
return
-
1
;
}
static
int
_git
_receivepack_ls
(
static
int
ssh
_receivepack_ls
(
ssh_subtransport
*
t
,
const
char
*
url
,
git_smart_subtransport_stream
**
stream
)
...
...
@@ -442,7 +442,7 @@ static int _git_receivepack_ls(
return
0
;
}
static
int
_git
_receivepack
(
static
int
ssh
_receivepack
(
ssh_subtransport
*
t
,
const
char
*
url
,
git_smart_subtransport_stream
**
stream
)
...
...
@@ -468,16 +468,16 @@ static int _ssh_action(
switch
(
action
)
{
case
GIT_SERVICE_UPLOADPACK_LS
:
return
_git
_uploadpack_ls
(
t
,
url
,
stream
);
return
ssh
_uploadpack_ls
(
t
,
url
,
stream
);
case
GIT_SERVICE_UPLOADPACK
:
return
_git
_uploadpack
(
t
,
url
,
stream
);
return
ssh
_uploadpack
(
t
,
url
,
stream
);
case
GIT_SERVICE_RECEIVEPACK_LS
:
return
_git
_receivepack_ls
(
t
,
url
,
stream
);
return
ssh
_receivepack_ls
(
t
,
url
,
stream
);
case
GIT_SERVICE_RECEIVEPACK
:
return
_git
_receivepack
(
t
,
url
,
stream
);
return
ssh
_receivepack
(
t
,
url
,
stream
);
}
*
stream
=
NULL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment