hideRefs: add support for matching full refs
commit78a766ab6eaaa91c2638158bd4fda06a93291da0
authorLukas Fleischer <lfleischer@lfos.de>
Tue, 3 Nov 2015 07:58:16 +0000 (3 08:58 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Nov 2015 19:25:02 +0000 (5 11:25 -0800)
tree3318ee5a30e7227c2c20b46d2a8b7118ed8d3050
parent00b293e519d1aa0c5b57ae9359ec5306d7023b3f
hideRefs: add support for matching full refs

In addition to matching stripped refs, one can now add hideRefs
patterns that the full (unstripped) ref is matched against. To
distinguish between stripped and full matches, those new patterns
must be prefixed with a circumflex (^).

This commit also removes support for the undocumented and unintended
hideRefs settings ".have" (suppressing all "have" lines) and
"capabilities^{}" (suppressing the capabilities line).

Signed-off-by: Lukas Fleischer <lfleischer@lfos.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
builtin/receive-pack.c
refs.c
refs.h
upload-pack.c