Merge branch 'jt/submodule-pull-recurse-rebase'
[gitweb.git] / builtin / branch.c
index cc089f9efb29c4a1eb2d2f4abb024b99f7809553..d53f6e2ad4c30ef02262ff3fa01ecdb54be96f11 100644 (file)
@@ -500,7 +500,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)