]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/pull.c
Replace all die("BUG: ...") calls by BUG() ones
[thirdparty/git.git] / builtin / pull.c
index e32d6cd5b4c999bc45b961c1387af066c72a823a..a886fa8ad4f3aaa877222a343fbb40f5202f0379 100644 (file)
@@ -9,7 +9,7 @@
 #include "config.h"
 #include "builtin.h"
 #include "parse-options.h"
-#include "exec_cmd.h"
+#include "exec-cmd.h"
 #include "run-command.h"
 #include "sha1-array.h"
 #include "remote.h"
@@ -539,7 +539,7 @@ static int run_fetch(const char *repo, const char **refspecs)
                argv_array_push(&args, repo);
                argv_array_pushv(&args, refspecs);
        } else if (*refspecs)
-               die("BUG: refspecs without repo?");
+               BUG("refspecs without repo?");
        ret = run_command_v_opt(args.argv, RUN_GIT_CMD);
        argv_array_clear(&args);
        return ret;