Skip to content

Commit a831908

Browse files
rscharfegitster
authored andcommitted
rebase: remove unused function reschedule_last_action
The only caller of reschedule_last_action was removed by ef64bb3 (rebase: strip unused code in git-rebase--preserve-merges.sh, 2018-05-28); remove this unused shell function as well. Signed-off-by: René Scharfe <[email protected]> Reviewed-by: Taylor Blau <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 47ae905 commit a831908

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

git-rebase--preserve-merges.sh

-10
Original file line numberDiff line numberDiff line change
@@ -193,16 +193,6 @@ mark_action_done () {
193193
fi
194194
}
195195

196-
# Put the last action marked done at the beginning of the todo list
197-
# again. If there has not been an action marked done yet, leave the list of
198-
# items on the todo list unchanged.
199-
reschedule_last_action () {
200-
tail -n 1 "$done" | cat - "$todo" >"$todo".new
201-
sed -e \$d <"$done" >"$done".new
202-
mv -f "$todo".new "$todo"
203-
mv -f "$done".new "$done"
204-
}
205-
206196
append_todo_help () {
207197
gettext "
208198
Commands:

0 commit comments

Comments
 (0)