diff options
author | Lukas Fleischer <lfleischer@lfos.de> | 2015-11-03 08:58:16 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-11-05 11:25:02 -0800 |
commit | 78a766ab6eaaa91c2638158bd4fda06a93291da0 (patch) | |
tree | 3318ee5a30e7227c2c20b46d2a8b7118ed8d3050 /urlmatch.c | |
parent | upload-pack: strip refs before calling ref_is_hidden() (diff) | |
download | tgif-78a766ab6eaaa91c2638158bd4fda06a93291da0.tar.xz |
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>
Diffstat (limited to 'urlmatch.c')
0 files changed, 0 insertions, 0 deletions