diff options
author | Junio C Hamano <junkio@cox.net> | 2005-10-13 18:57:40 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-15 11:23:40 -0700 |
commit | 1a7141ff28e217312da4b289127875905c6ec479 (patch) | |
tree | a8e87b3b44fb81f492d6e073008dbb4a85a3f2e6 /clone-pack.c | |
parent | d8a1deecc6ef37728b951eaba051deb7e0a38af8 (diff) | |
download | git-1a7141ff28e217312da4b289127875905c6ec479.tar.gz |
Ignore funny refname sent from remote
This allows the remote side (most notably, upload-pack) to show
additional information without affecting the downloader. Peek-remote
does not ignore them -- this is to make it useful for Pasky's
automatic tag following.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'clone-pack.c')
-rw-r--r-- | clone-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clone-pack.c b/clone-pack.c index 0ea7e7f65d..f9b263a441 100644 --- a/clone-pack.c +++ b/clone-pack.c @@ -287,7 +287,7 @@ static int clone_pack(int fd[2], int nr_match, char **match) struct ref *refs; int status; - get_remote_heads(fd[0], &refs, nr_match, match); + get_remote_heads(fd[0], &refs, nr_match, match, 1); if (!refs) { packet_flush(fd[1]); die("no matching remote head"); |