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
f86f35d6
Commit
f86f35d6
authored
May 01, 2017
by
Edward Thomson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'pr/4225'
parents
f9921ad7
45071cec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
include/git2/remote.h
+2
-2
src/remote.c
+1
-1
No files found.
include/git2/remote.h
View file @
f86f35d6
...
...
@@ -715,8 +715,8 @@ GIT_EXTERN(int) git_remote_prune(git_remote *remote, const git_remote_callbacks
* Peform all the steps from a push.
*
* @param remote the remote to push to
* @param refspecs the refspecs to use for pushing. If
none are
*
passed
, the configured refspecs will be used
* @param refspecs the refspecs to use for pushing. If
NULL or an empty
*
array
, the configured refspecs will be used
* @param opts options to use for this push
*/
GIT_EXTERN
(
int
)
git_remote_push
(
git_remote
*
remote
,
...
...
src/remote.c
View file @
f86f35d6
...
...
@@ -2411,7 +2411,7 @@ int git_remote_push(git_remote *remote, const git_strarray *refspecs, const git_
proxy
=
&
opts
->
proxy_opts
;
}
assert
(
remote
&&
refspecs
);
assert
(
remote
);
if
((
error
=
git_remote_connect
(
remote
,
GIT_DIRECTION_PUSH
,
cbs
,
proxy
,
custom_headers
))
<
0
)
return
error
;
...
...
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