The old fake-editor selects only lines they start with pick, if you give the number of a line. With the new commands mark, merge and reset it was not possible to select such lines for the new TODO list. The new fake-editor selects all kinds of lines, but replaces only the command “pick” with a different action. --- t/t3404-rebase-interactive.sh | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/t/t3404-rebase-interactive.sh b/t/t3404-rebase-interactive.sh index aa4bb8d..be26a78 100755 --- a/t/t3404-rebase-interactive.sh +++ b/t/t3404-rebase-interactive.sh @@ -92,9 +92,8 @@ for line in $FAKE_LINES; do echo "merge ${line#merge}" | tr / ' ' echo "merge ${line#merge}" | tr / ' ' >> "$1";; *) - echo sed -n "${line}s/^pick/$action/p" - sed -n "${line}p" < "$1".tmp - sed -n "${line}s/^pick/$action/p" < "$1".tmp >> "$1" + sed -n "${line}{s/^pick/$action/; p;}" < "$1".tmp + sed -n "${line}{s/^pick/$action/; p;}" < "$1".tmp >> "$1" action=pick;; esac done -- 1.5.4.5 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html