From: Junio C Hamano Date: Fri, 1 Jun 2018 06:06:40 +0000 (+0900) Subject: Merge branch 'js/rebase-recreate-merge' X-Git-Tag: v2.18.0-rc1~11 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/95dd4b2b14db912b482320c0a69518e77e7af19a?ds=inline;hp=-c Merge branch 'js/rebase-recreate-merge' Hotfixes. * js/rebase-recreate-merge: sequencer: ensure labels that are object IDs are rewritten git-rebase--interactive: fix copy-paste mistake --- 95dd4b2b14db912b482320c0a69518e77e7af19a diff --combined git-rebase--interactive.sh index 0c92ac00fa,85a72b933e..06a7b79307 --- a/git-rebase--interactive.sh +++ b/git-rebase--interactive.sh @@@ -81,8 -81,6 +81,8 @@@ rewritten_pending="$state_dir"/rewritte # and leaves CR at the end instead. cr=$(printf "\015") +empty_tree=$(git hash-object -t tree /dev/null) + strategy_args=${strategy:+--strategy=$strategy} test -n "$strategy_opts" && eval ' @@@ -162,7 -160,7 +162,7 @@@ r, reword = use commit, but ed e, edit = use commit, but stop for amending s, squash = use commit, but meld into previous commit f, fixup = like \"squash\", but discard this commit's log message - x, exec = run command (the rest of the line) using shell + x, exec = run command (the rest of the line) using shell d, drop = remove commit l, label