aboutsummaryrefslogtreecommitdiff
path: root/t/t9814-git-p4-rename.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-12-04 20:32:44 -0500
committerJunio C Hamano <gitster@pobox.com>2014-12-05 11:11:52 -0800
commit69216bf72be2be4f8aa932324b3145d3f395cdc6 (patch)
tree7409436544dd839555ba2238e857625d1ec1a96c /t/t9814-git-p4-rename.sh
parente5e73ff20b5a750b9622438fd877f4e4a4c3519b (diff)
downloadgit-69216bf72be2be4f8aa932324b3145d3f395cdc6.tar.gz
git-69216bf72be2be4f8aa932324b3145d3f395cdc6.tar.xz
for_each_reflog_ent_reverse: turn leftover check into assertion
Our loop should always process all lines, even if we hit the beginning of the file. We have a conditional after the loop ends to double-check that there is nothing left and to process it. But this should never happen, and is a sign of a logic bug in the loop. Let's turn it into a BUG assertion. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9814-git-p4-rename.sh')
0 files changed, 0 insertions, 0 deletions