Merge branch 'bc/http-keep-memory-given-to-curl' into maint
[gitweb.git] / t / lib-rebase.sh
index 6aefe27593e89d57f075bc0d3dbc5a1104d874b7..8098a88c823d691a4e349cd544e19f9b340b7650 100644 (file)
@@ -17,6 +17,8 @@
 #       ("squash", "fixup", "edit", or "reword") and the SHA1 taken
 #       from the specified line.
 #
+#   "exec_cmd_with_args" -- add an "exec cmd with args" line.
+#
 #   "#" -- Add a comment line.
 #
 #   ">" -- Add a blank line.
@@ -47,6 +49,8 @@ for line in $FAKE_LINES; do
        case $line in
        squash|fixup|edit|reword)
                action="$line";;
+       exec*)
+               echo "$line" | sed 's/_/ /g' >> "$1";;
        "#")
                echo '# comment' >> "$1";;
        ">")