summaryrefslogtreecommitdiff
path: root/column.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-02-28 13:53:00 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-02-28 13:53:00 -0800
commit46e1d6eb4dcdd2952149fae214aeaa32f29c8df5 (patch)
tree1a66f722792d3c37ed2b31bdb438ed334ad13840 /column.h
parentUpdate draft release notes to 1.8.1.5 (diff)
downloadtgif-46e1d6eb4dcdd2952149fae214aeaa32f29c8df5.tar.xz
describe: --match=<pattern> must limit the refs even when used with --all
The logic to limit the refs used for describing with a matching pattern with --match=<pattern> parameter was implemented incorrectly when --all is in effect. It just demoted a ref that did not match the pattern to lower priority---if there aren't other refs with higher priority that describe the given commit, such an unmatching ref was still used. When --match is used, reject refs that do not match the given criteria, so that with or without --all, the output will only use refs that match the pattern. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'column.h')
0 files changed, 0 insertions, 0 deletions