My Various Git Projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
e443bdf
02f7914
)
Merge branch 'jk/http-push-to-empty'
author
Junio C Hamano
<gitster@pobox.com>
Thu, 22 Dec 2011 19:27:22 +0000
(11:27 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 22 Dec 2011 19:27:22 +0000
(11:27 -0800)
* jk/http-push-to-empty:
remote-curl: don't pass back fake refs
Conflicts:
remote-curl.c
1
2
remote-curl.c
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
remote-curl.c
index
6a352de
,
b780ba5
..
48c20b8
---
1
/
remote-curl.c
---
2
/
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");