We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d18d01 commit 2d8a08bCopy full SHA for 2d8a08b
builtin.h
@@ -105,7 +105,11 @@ extern const char git_more_info_string[];
105
void setup_auto_pager(const char *cmd, int def);
106
107
int is_builtin(const char *s);
108
-
+/*
109
+ * Builtins which do not use RUN_SETUP should never see
110
+ * a prefix that is not empty; use this to protect downstream
111
+ * code which is not prepared to call prefix_filename(), etc.
112
+ */
113
114
#define BUG_ON_NON_EMPTY_PREFIX(prefix) do { \
115
if ((prefix)) \
0 commit comments