]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/rebase.c
rebase: add a config option to default to --reschedule-failed-exec
[thirdparty/git.git] / builtin / rebase.c
index cc33730743a6682ada58ecbddc466b81c22745f6..4839e525558bfea819d710cc40ab483eb80fcdf6 100644 (file)
@@ -677,6 +677,11 @@ static int rebase_config(const char *var, const char *value, void *data)
                return 0;
        }
 
+       if (!strcmp(var, "rebase.reschedulefailedexec")) {
+               opts->reschedule_failed_exec = git_config_bool(var, value);
+               return 0;
+       }
+
        return git_default_config(var, value, data);
 }