diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2017-05-22 16:17:36 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-23 14:29:53 +0900 |
commit | c7599718167de62c437490e9ea300eeb9284a572 (patch) | |
tree | 8ce2f1351c2287cf6ee485d8beaf3142f0b29352 /t/t7613-merge-submodule.sh | |
parent | prefix_ref_iterator: don't trim too much (diff) | |
download | tgif-c7599718167de62c437490e9ea300eeb9284a572.tar.xz |
refs_ref_iterator_begin(): don't check prefixes redundantly
The backend already correctly restricts its output to references whose
names start with the prefix. By passing the prefix again to
`prefix_ref_iterator`, we were forcing that iterator to do redundant
prefix comparisons. So set it to the empty string.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7613-merge-submodule.sh')
0 files changed, 0 insertions, 0 deletions