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
d2b7841d
Commit
d2b7841d
authored
Mar 05, 2014
by
Vicent Marti
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2161 from softwarenerd/softwarenerd
Fixed missing error check on call to git_remote_download
parents
66d9e046
06a8f5c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/remote.c
+5
-2
No files found.
src/remote.c
View file @
d2b7841d
...
...
@@ -857,12 +857,15 @@ int git_remote_fetch(
if
((
error
=
git_remote_connect
(
remote
,
GIT_DIRECTION_FETCH
))
!=
0
)
return
error
;
if
((
error
=
git_remote_download
(
remote
))
!=
0
)
return
error
;
error
=
git_remote_download
(
remote
);
/* We don't need to be connected anymore */
git_remote_disconnect
(
remote
);
/* If the download failed, return the error */
if
(
error
!=
0
)
return
error
;
/* Default reflog message */
if
(
reflog_message
)
git_buf_sets
(
&
reflog_msg_buf
,
reflog_message
);
...
...
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