Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
BUG_exit_code: fix sparse "symbol not declared" warning
[gitweb.git]
/
builtin
/
branch.c
diff --git
a/builtin/branch.c
b/builtin/branch.c
index 5bd2a0dd4891ce0d42ad897c7b5fe0f66ca73be4..1d4b3ce3d79949881b84248c03d7b9eca3656350 100644
(file)
--- a/
builtin/branch.c
+++ b/
builtin/branch.c
@@
-497,7
+497,7
@@
static void copy_or_rename_branch(const char *oldname, const char *newname, int
if (!skip_prefix(oldref.buf, "refs/heads/", &interpreted_oldname) ||
!skip_prefix(newref.buf, "refs/heads/", &interpreted_newname)) {
-
die("BUG:
expected prefix missing for refs");
+
BUG("
expected prefix missing for refs");
}
if (copy)