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>
This commit is contained in:
@ -181,7 +181,7 @@ static int send_pack(int in, int out, int nr_refspec, char **refspec)
|
||||
int new_refs;
|
||||
|
||||
/* No funny business with the matcher */
|
||||
remote_tail = get_remote_heads(in, &remote_refs, 0, NULL);
|
||||
remote_tail = get_remote_heads(in, &remote_refs, 0, NULL, 1);
|
||||
get_local_heads();
|
||||
|
||||
/* match them up */
|
||||
|
Reference in New Issue
Block a user