[PATCH 5/6] t/lib-rebase.sh: pass through ref commands
Signed-off-by: Greg Price <price@mit.edu>
---
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