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]
/
builtin
/
pull.c
diff --git
a/builtin/pull.c
b/builtin/pull.c
index 71aac5005e0c0c8cf156cdf69621b687973f9ecc..a886fa8ad4f3aaa877222a343fbb40f5202f0379 100644
(file)
--- a/
builtin/pull.c
+++ b/
builtin/pull.c
@@
-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;