diff options
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/rebase.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/builtin/rebase.c b/builtin/rebase.c index 8353a71e21..1a2758756a 100644 --- a/builtin/rebase.c +++ b/builtin/rebase.c @@ -49,7 +49,10 @@ static int use_builtin_rebase(void) { struct child_process cp = CHILD_PROCESS_INIT; struct strbuf out = STRBUF_INIT; - int ret; + int ret, env = git_env_bool("GIT_TEST_REBASE_USE_BUILTIN", -1); + + if (env != -1) + return env; argv_array_pushl(&cp.args, "config", "--bool", "rebase.usebuiltin", NULL); |