]> 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 71aac5005e0c0c8cf156cdf69621b687973f9ecc..a886fa8ad4f3aaa877222a343fbb40f5202f0379 100644 (file)
@@ -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;