]> git.ipfire.org Git - thirdparty/git.git/commit
upload-pack: strip refs before calling ref_is_hidden()
authorLukas Fleischer <lfleischer@lfos.de>
Thu, 5 Nov 2015 06:07:29 +0000 (07:07 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Nov 2015 19:25:02 +0000 (11:25 -0800)
commit00b293e519d1aa0c5b57ae9359ec5306d7023b3f
treec47205c82f87910245cbd64fa9e0691937c5545e
parent92cab492ba988ffd3e3edf040f19ba820306c833
upload-pack: strip refs before calling ref_is_hidden()

Make hideRefs handling in upload-pack consistent with the behavior
described in the documentation by stripping refs before comparing them
with prefixes in hideRefs.

Signed-off-by: Lukas Fleischer <lfleischer@lfos.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
upload-pack.c