Signed-off-by: Greg Price <price@xxxxxxx> --- t/lib-rebase.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/t/lib-rebase.sh b/t/lib-rebase.sh index 6ccf797..656e4b6 100644 --- a/t/lib-rebase.sh +++ b/t/lib-rebase.sh @@ -54,7 +54,7 @@ for line in $FAKE_LINES; do ">") echo >> "$1";; *) - sed -n "${line}s/^pick/$action/p" < "$1".tmp >> "$1" + sed -n "${line}{s/^pick/$action/p; /^ref/p}" < "$1".tmp >> "$1" action=pick;; esac done -- 1.7.5.4 -- 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