From: Junio C Hamano Date: Wed, 16 Mar 2016 22:33:31 GMT Subject: Re: An idea for the "Leftover Bits": rebase -x to imply -i Message-ID: In-Reply-To: Stefan Beller writes: > * "rebase -exec" requiries to be an explicit interactive rebase (i.e. > --interactive was given) > Could --exec just imply --interactive with a no-op editor? Perhaps like this? You have to defend the change with a good description, have to protect the new behaviour with a new test from future breakages, and may have to adjust existing tests if they are expecting the current behaviour (I didn't test). git-rebase.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/git-rebase.sh b/git-rebase.sh index cf60c43..c68baa0 100755 --- a/git-rebase.sh +++ b/git-rebase.sh @@ -248,6 +248,7 @@ do ;; --exec=*) cmd="${cmd}exec ${1#--exec=}${LF}" + interactive_rebase=explicit ;; --interactive) interactive_rebase=explicit