Merge branch 'js/use-bug-macro'
Developer support update, by using BUG() macro instead of die() to mark codepaths that should not happen more clearly. * js/use-bug-macro: BUG_exit_code: fix sparse "symbol not declared" warning Convert remaining die*(BUG) messages Replace all die("BUG: ...") calls by BUG() ones run-command: use BUG() to report bugs, not die() test-tool: help verifying BUG() code paths
This commit is contained in:
@ -1174,7 +1174,7 @@ int cmd_update_index(int argc, const char **argv, const char *prefix)
|
||||
report(_("Untracked cache enabled for '%s'"), get_git_work_tree());
|
||||
break;
|
||||
default:
|
||||
die("BUG: bad untracked_cache value: %d", untracked_cache);
|
||||
BUG("bad untracked_cache value: %d", untracked_cache);
|
||||
}
|
||||
|
||||
if (fsmonitor > 0) {
|
||||
|
Reference in New Issue
Block a user