BUG(): remove leading underscore of the format string
BUG() is not end-user facing but programmer facing, and we do not
use _("...") in them. Replace all `BUG(_("..."))` with `BUG("...")`
Signed-off-by: Lidong Yan <502024330056@smail.nju.edu.cn>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
d50a5e8939
commit
5dceb8bd05
@@ -1054,7 +1054,7 @@ void bitmap_writer_finish(struct bitmap_writer *writer,
|
||||
oid_access);
|
||||
|
||||
if (commit_pos < 0)
|
||||
BUG(_("trying to write commit not in index"));
|
||||
BUG("trying to write commit not in index");
|
||||
stored->commit_pos = commit_pos;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user