[PATCH 0/4] Improve hideRefs when used with namespaces
- From
Lukas Fleischer <lfleischer@lfos.de>
- Date
- Nov 1, 2015, 19:34 UTC
- Message-ID
- <1446406463-22527-1-git-send-email-lfleischer@lfos.de>
This is a first set of patches improving documentation and behavior of the transfer.hideRefs feature as discussed in [1]. In particular, hideRefs is changed to generally match stripped refs by default and match full refs when prefixed with "^". The documentation is updated accordingly. Basic tests are added.
[1] http://marc.info/?l=git&m=144604694223920
Lukas Fleischer (4): Document the semantics of hideRefs with namespaces upload-pack: strip refs before calling ref_is_hidden() Add support for matching full refs in hideRefs t5509: add basic tests for hideRefs
Documentation/config.txt | 8 ++++++++ builtin/receive-pack.c | 22 ++++++++++++++++------ refs.c | 14 +++++++++++--- refs.h | 2 +- t/t5509-fetch-push-namespaces.sh | 29 +++++++++++++++++++++++++++++ upload-pack.c | 13 ++++++++----- 6 files changed, 73 insertions(+), 15 deletions(-)
-- 2.6.2