On Fri, Mar 23, 2018 at 5:25 PM, Wink Saville <wink@xxxxxxxxxxx> wrote: > The extracted functions are: > [...] > Signed-off-by: Wink Saville <wink@xxxxxxxxxxx> > --- > diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh > @@ -740,8 +740,20 @@ get_missing_commit_check_level () { > +# Initiate an action. If the cannot be any s/the/there/ > +# further action it may exec a command s/\s+/ / > +# or exit and not return. > +# > +# TODO: Consider a cleaner return model so it > +# never exits and always return 0 if process > +# is complete. > +# > +# Parameter 1 is the action to initiate. > +# > +# Returns 0 if the action was able to complete > +# and if 1 if further processing is required. > +initiate_action () {