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
2c22193b
Commit
2c22193b
authored
Sep 16, 2014
by
Linquize
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
parent
910cd2da
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
README.md
+1
-1
examples/network/fetch.c
+1
-1
No files found.
README.md
View file @
2c22193b
...
@@ -55,7 +55,7 @@ dependencies, it can make use of a few libraries to add to it:
...
@@ -55,7 +55,7 @@ dependencies, it can make use of a few libraries to add to it:
-
pthreads (non-Windows) to enable threadsafe access as well as multi-threaded pack generation
-
pthreads (non-Windows) to enable threadsafe access as well as multi-threaded pack generation
-
OpenSSL (non-Windows) to talk over HTTPS and provide the SHA-1 functions
-
OpenSSL (non-Windows) to talk over HTTPS and provide the SHA-1 functions
-
LibSSH2 to enable the
ssh
transport
-
LibSSH2 to enable the
SSH
transport
-
iconv (OSX) to handle the HFS+ path encoding peculiarities
-
iconv (OSX) to handle the HFS+ path encoding peculiarities
Building libgit2 - Using CMake
Building libgit2 - Using CMake
...
...
examples/network/fetch.c
View file @
2c22193b
...
@@ -155,7 +155,7 @@ int fetch(git_repository *repo, int argc, char **argv)
...
@@ -155,7 +155,7 @@ int fetch(git_repository *repo, int argc, char **argv)
// Update the references in the remote's namespace to point to the
// Update the references in the remote's namespace to point to the
// right commits. This may be needed even if there was no packfile
// right commits. This may be needed even if there was no packfile
// to download, which can happen e.g. when the branches have been
// to download, which can happen e.g. when the branches have been
// changed but all the neede objects are available locally.
// changed but all the neede
d
objects are available locally.
if
(
git_remote_update_tips
(
remote
,
NULL
,
NULL
)
<
0
)
if
(
git_remote_update_tips
(
remote
,
NULL
,
NULL
)
<
0
)
return
-
1
;
return
-
1
;
...
...
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