Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Replace all die("BUG: ...") calls by BUG() ones
[gitweb.git]
/
unpack-trees.c
diff --git
a/unpack-trees.c
b/unpack-trees.c
index e73745051e505934b44be216b1d80a6c053c96de..4239dfd285ef7bcab46a2eaf3da958d52fddc22a 100644
(file)
--- a/
unpack-trees.c
+++ b/
unpack-trees.c
@@
-398,7
+398,7
@@
static int check_updates(struct unpack_trees_options *o)
if (ce->ce_flags & CE_UPDATE) {
if (ce->ce_flags & CE_WT_REMOVE)
-
die("BUG:
both update and delete flags are set on %s",
+
BUG("
both update and delete flags are set on %s",
ce->name);
display_progress(progress, ++cnt);
ce->ce_flags &= ~CE_UPDATE;