summaryrefslogtreecommitdiff
path: root/builtin/send-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-12-19 16:05:55 -0800
committerJunio C Hamano <gitster@pobox.com>2011-12-19 16:05:55 -0800
commitb3ae9d8e57166c771926e3f55555bf248b71202a (patch)
tree358559721eb8de383691b33f4ff54ff7454d981a /builtin/send-pack.c
parent2e05710a161e6287f239fae42b86b0cb46190834 (diff)
parentbab8d28e774c255a326ad5592af6351e4925efcb (diff)
downloadgit-b3ae9d8e57166c771926e3f55555bf248b71202a.tar.gz
Merge branch 'jk/fetch-no-tail-match-refs'
* jk/fetch-no-tail-match-refs: connect.c: drop path_match function fetch-pack: match refs exactly t5500: give fully-qualified refs to fetch-pack drop "match" parameter from get_remote_heads
Diffstat (limited to 'builtin/send-pack.c')
-rw-r--r--builtin/send-pack.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin/send-pack.c b/builtin/send-pack.c
index e0b8030f2b..cd1115ffc6 100644
--- a/builtin/send-pack.c
+++ b/builtin/send-pack.c
@@ -494,8 +494,7 @@ int cmd_send_pack(int argc, const char **argv, const char *prefix)
memset(&extra_have, 0, sizeof(extra_have));
- get_remote_heads(fd[0], &remote_refs, 0, NULL, REF_NORMAL,
- &extra_have);
+ get_remote_heads(fd[0], &remote_refs, REF_NORMAL, &extra_have);
transport_verify_remote_names(nr_refspecs, refspecs);