summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-03-03 10:07:36 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2015-03-03 10:07:36 -0500
commit72ca65d538d1e3ab7a9052613412bf121470dfd6 (patch)
tree1a7db7342d02450a871b4a73469a22b2e4ef07a1 /examples
parentfe477951be315e6fe28d6df9baf1557cef6fe539 (diff)
parent41513659de1958fd5907c511f7ddd2ee46e6cd69 (diff)
downloadlibgit2-72ca65d538d1e3ab7a9052613412bf121470dfd6.tar.gz
Merge pull request #2808 from libgit2/cmn/repo-ident
Remove the signature from ref-modifying functions
Diffstat (limited to 'examples')
-rw-r--r--examples/network/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/fetch.c b/examples/network/fetch.c
index adde73c17..a4bec032e 100644
--- a/examples/network/fetch.c
+++ b/examples/network/fetch.c
@@ -156,7 +156,7 @@ int fetch(git_repository *repo, int argc, char **argv)
// right commits. This may be needed even if there was no packfile
// to download, which can happen e.g. when the branches have been
// changed but all the needed objects are available locally.
- if (git_remote_update_tips(remote, NULL, NULL) < 0)
+ if (git_remote_update_tips(remote, NULL) < 0)
return -1;
git_remote_free(remote);