summaryrefslogtreecommitdiff
path: root/t/t8006-blame-textconv.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-06-30 16:10:10 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-07-24 15:09:32 -0700
commit74444d4ec4c23d254040de7b2637660b7f141110 (patch)
tree266d4272fe9db86be33d88b347415ea5faad0504 /t/t8006-blame-textconv.sh
parentrerere: drop want_sp parameter from is_cmarker() (diff)
downloadtgif-74444d4ec4c23d254040de7b2637660b7f141110.tar.xz
rerere: stop looping unnecessarily
handle_cache() loops 3 times starting from an index entry that is unmerged, while ignoring an entry for a path that is different from what we are looking for. As the index is sorted, once we see a different path, we know we saw all stages for the path we are interested in. Just loop while we see the same path and then break, instead of continuing for 3 times. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t8006-blame-textconv.sh')
0 files changed, 0 insertions, 0 deletions