OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7171d8c
)
upload-pack: send non-HEAD symbolic refs
author
Junio C Hamano
<gitster@pobox.com>
Tue, 17 Sep 2013 23:21:33 +0000
(16:21 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 18 Sep 2013 04:51:58 +0000
(21:51 -0700)
With the same mechanism as used to tell where "HEAD" points at to
the other end, we can tell the target of other symbolic refs as
well.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
upload-pack.c
patch
|
blob
|
history
diff --git
a/upload-pack.c
b/upload-pack.c
index
979fc8e
..
2826909
100644
(file)
--- a/
upload-pack.c
+++ b/
upload-pack.c
@@
-798,6
+798,7
@@
static void upload_pack(void)
struct string_list symref = STRING_LIST_INIT_DUP;
head_ref_namespaced(find_symref, &symref);
+ for_each_namespaced_ref(find_symref, &symref);
if (advertise_refs || !stateless_rpc) {
reset_timeout();