summaryrefslogtreecommitdiff
path: root/peek-remote.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-10-14 01:57:40 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-10-15 18:23:40 (GMT)
commit1a7141ff28e217312da4b289127875905c6ec479 (patch)
treea8e87b3b44fb81f492d6e073008dbb4a85a3f2e6 /peek-remote.c
parentd8a1deecc6ef37728b951eaba051deb7e0a38af8 (diff)
downloadgit-1a7141ff28e217312da4b289127875905c6ec479.zip
git-1a7141ff28e217312da4b289127875905c6ec479.tar.gz
git-1a7141ff28e217312da4b289127875905c6ec479.tar.bz2
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 'peek-remote.c')
-rw-r--r--peek-remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/peek-remote.c b/peek-remote.c
index 4b1d0d5..ee49bf3 100644
--- a/peek-remote.c
+++ b/peek-remote.c
@@ -11,7 +11,7 @@ static int peek_remote(int fd[2])
{
struct ref *ref;
- get_remote_heads(fd[0], &ref, 0, NULL);
+ get_remote_heads(fd[0], &ref, 0, NULL, 0);
packet_flush(fd[1]);
while (ref) {