path: root/cache.h
diff options
authorJunio C Hamano <>2005-10-14 01:57:40 (GMT)
committerJunio C Hamano <>2005-10-15 18:23:40 (GMT)
commit1a7141ff28e217312da4b289127875905c6ec479 (patch)
treea8e87b3b44fb81f492d6e073008dbb4a85a3f2e6 /cache.h
parentd8a1deecc6ef37728b951eaba051deb7e0a38af8 (diff)
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 <>
Diffstat (limited to 'cache.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index f1d15ab..d776016 100644
--- a/cache.h
+++ b/cache.h
@@ -339,7 +339,7 @@ extern int path_match(const char *path, int nr, char **match);
extern int match_refs(struct ref *src, struct ref *dst, struct ref ***dst_tail,
int nr_refspec, char **refspec, int all);
extern int get_ack(int fd, unsigned char *result_sha1);
-extern struct ref **get_remote_heads(int in, struct ref **list, int nr_match, char **match);
+extern struct ref **get_remote_heads(int in, struct ref **list, int nr_match, char **match, int ignore_funny);
extern struct packed_git *parse_pack_index(unsigned char *sha1);
extern struct packed_git *parse_pack_index_file(const unsigned char *sha1,