From: Junio C Hamano Date: Thu, 22 Dec 2011 19:27:22 +0000 (-0800) Subject: Merge branch 'jk/http-push-to-empty' X-Git-Tag: v1.7.9-rc0~32 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=200888ef3bbc150cc20b99e0aa039c751c00e07a;p=git.git Merge branch 'jk/http-push-to-empty' * jk/http-push-to-empty: remote-curl: don't pass back fake refs Conflicts: remote-curl.c --- 200888ef3bbc150cc20b99e0aa039c751c00e07a diff --cc remote-curl.c index 6a352de7b,b780ba5ca..48c20b86f --- a/remote-curl.c +++ b/remote-curl.c @@@ -200,7 -200,8 +200,8 @@@ static struct ref *parse_git_refs(struc if (start_async(&async)) die("cannot start thread to parse advertised refs"); - get_remote_heads(async.out, &list, 0, NULL); - get_remote_heads(async.out, &list, 0, NULL, ++ get_remote_heads(async.out, &list, + for_push ? REF_NORMAL : 0, NULL); close(async.out); if (finish_async(&async)) die("ref parsing thread failed");