]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/receive-pack.c
Replace all die("BUG: ...") calls by BUG() ones
[thirdparty/git.git] / builtin / receive-pack.c
index c4272fbc96dc274f3287ab01f3fbe57c2cdb9d9c..2d719fa5117a93e18496fa2e366d737b6b7415ff 100644 (file)
@@ -7,7 +7,7 @@
 #include "pkt-line.h"
 #include "sideband.h"
 #include "run-command.h"
-#include "exec_cmd.h"
+#include "exec-cmd.h"
 #include "commit.h"
 #include "object.h"
 #include "remote.h"
@@ -1378,7 +1378,7 @@ static void warn_if_skipped_connectivity_check(struct command *commands,
                }
        }
        if (!checked_connectivity)
-               die("BUG: connectivity check skipped???");
+               BUG("connectivity check skipped???");
 }
 
 static void execute_commands_non_atomic(struct command *commands,