Revision 69216bf72be2be4f8aa932324b3145d3f395cdc6 authored by Jeff King on 05 December 2014, 01:32:44 UTC, committed by Junio C Hamano on 05 December 2014, 19:11:52 UTC
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>
1 parent e5e73ff
History
File Mode Size
.gitignore -rw-r--r-- 7 bytes
README -rw-r--r-- 9.9 KB
TEAMS -rw-r--r-- 1.8 KB
da.po -rw-r--r-- 65.5 KB
de.po -rw-r--r-- 315.8 KB
fr.po -rw-r--r-- 311.0 KB
git.pot -rw-r--r-- 198.0 KB
is.po -rw-r--r-- 3.1 KB
it.po -rw-r--r-- 128.2 KB
nl.po -rw-r--r-- 65.2 KB
pt_PT.po -rw-r--r-- 99.8 KB
sv.po -rw-r--r-- 301.8 KB
vi.po -rw-r--r-- 338.5 KB
zh_CN.po -rw-r--r-- 292.8 KB

README

back to top