]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-legacy-rebase.sh
rebase: add a config option to default to --reschedule-failed-exec
[thirdparty/git.git] / git-legacy-rebase.sh
index 699fc4da7e260a6a5bd2c43e9be6a634af9092ca..37db5a7ca4618be80009c7a691c02c6044ce5dd4 100755 (executable)
@@ -99,6 +99,8 @@ case "$(git config --bool commit.gpgsign)" in
 true)  gpg_sign_opt=-S ;;
 *)     gpg_sign_opt= ;;
 esac
+test "$(git config --bool rebase.reschedulefailedexec)" = "true" &&
+reschedule_failed_exec=--reschedule-failed-exec
 . git-rebase--common
 
 read_basic_state () {