diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-02-28 13:53:00 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-28 13:53:00 -0800 |
commit | 46e1d6eb4dcdd2952149fae214aeaa32f29c8df5 (patch) | |
tree | 1a66f722792d3c37ed2b31bdb438ed334ad13840 /t/t1013-loose-object-format.sh | |
parent | Update draft release notes to 1.8.1.5 (diff) | |
download | tgif-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 't/t1013-loose-object-format.sh')
0 files changed, 0 insertions, 0 deletions