Commit 7affe23db01257cfd7fe8431dea31d5924e106fd

Ben Straub 2012-07-27T11:23:44

Use new git_remote_update_tips signature.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/clone.c b/src/clone.c
index 47bd16d..f5421b5 100644
--- a/src/clone.c
+++ b/src/clone.c
@@ -176,7 +176,7 @@ static int setup_remotes_and_fetch(git_repository *repo,
 		if (!git_remote_connect(origin, GIT_DIR_FETCH)) {
 			if (!git_remote_download(origin, &bytes, fetch_stats)) {
 				/* Create "origin/foo" branches for all remote branches */
-				if (!git_remote_update_tips(origin, NULL)) {
+				if (!git_remote_update_tips(origin)) {
 					/* Point HEAD to the same ref as the remote's head */
 					if (!update_head_to_remote(repo, origin)) {
 						retcode = 0;