]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/lib-rebase.sh
t/lib-rebase: set_fake_editor(): handle FAKE_LINES more consistently
[thirdparty/git.git] / t / lib-rebase.sh
index e6179ab5298de6617953d44b54c6a82e27687138..9ed87ca7ab2a20d7c8989fb34e0710fb31b4b6eb 100644 (file)
@@ -64,7 +64,7 @@ set_fake_editor () {
                fakesha)
                        test \& != "$action" || action=pick
                        echo "$action XXXXXXX False commit" >> "$1"
-                       action=pick;;
+                       action=\&;;
                *)
                        sed -n "${line}s/^[a-z][a-z]*/$action/p" < "$1".tmp >> "$1"
                        action=\&;;