summaryrefslogtreecommitdiff
path: root/t/t3703-add-magic-pathspec.sh
diff options
context:
space:
mode:
authorLibravatar Karthik Nayak <karthik.188@gmail.com>2017-01-10 14:19:42 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-10 12:44:31 -0800
commit01f95825d55b2ca36ee9bc131a5f6899f47621c6 (patch)
treeea7167ef1ca423a65502e24931b9fd33bc523e26 /t/t3703-add-magic-pathspec.sh
parentref-filter: add support for %(upstream:track,nobracket) (diff)
downloadtgif-01f95825d55b2ca36ee9bc131a5f6899f47621c6.tar.xz
ref-filter: make "%(symref)" atom work with the ':short' modifier
The "%(symref)" atom doesn't work when used with the ':short' modifier because we strictly match only 'symref' for setting the 'need_symref' indicator. Fix this by comparing with the valid_atom rather than the used_atom. Add tests for %(symref) and %(symref:short) while we're here. Helped-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Karthik Nayak <Karthik.188@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3703-add-magic-pathspec.sh')
0 files changed, 0 insertions, 0 deletions