summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2014-02-07 16:14:17 -0800
committerRussell Belfer <rb@github.com>2014-02-07 16:14:17 -0800
commit2d9291943c253e9e1520f87b13abb1e81cffdb29 (patch)
tree653489f8d29124bb0a6d32d14dfed9d9974bc267 /examples
parent57c47af107b45b73a46a1d157f8f758edd536bc7 (diff)
parentdb55bb73ff4bccbaccbb4c3a7f6b1fcf09498df7 (diff)
downloadlibgit2-2d9291943c253e9e1520f87b13abb1e81cffdb29.tar.gz
Merge pull request #2099 from libgit2/bs/more-reflog-stuff
More reflogness
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 474b45bbb..ad16f2793 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 neede objects are available locally.
- if (git_remote_update_tips(remote) < 0)
+ if (git_remote_update_tips(remote, NULL, NULL) < 0)
return -1;
git_remote_free(remote);