]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-rebase--preserve-merges.sh
Merge branch 'es/worktree-repair'
[thirdparty/git.git] / git-rebase--preserve-merges.sh
index dec90e9af67785e23bbe7cc553a1c23a5f0a1fd3..b9c71d2a71bdd32ed595da0d217f1e6c854f5ffc 100644 (file)
@@ -193,16 +193,6 @@ mark_action_done () {
        fi
 }
 
-# Put the last action marked done at the beginning of the todo list
-# again. If there has not been an action marked done yet, leave the list of
-# items on the todo list unchanged.
-reschedule_last_action () {
-       tail -n 1 "$done" | cat - "$todo" >"$todo".new
-       sed -e \$d <"$done" >"$done".new
-       mv -f "$todo".new "$todo"
-       mv -f "$done".new "$done"
-}
-
 append_todo_help () {
        gettext "
 Commands: