git-prompt.sh: make $f local to __git_eread()
[gitweb.git] / git-rebase--interactive.sh
index a1adae83131b5918ec6f994043f3f3ccd3b8c3d8..1c41cbd66c77641772c41898362b7fc550c4faca 100644 (file)
@@ -749,7 +749,7 @@ rearrange_squash () {
                                        ;;
                                esac
                        done
-                       echo "$sha1 $action $prefix $rest"
+                       printf '%s %s %s %s\n' "$sha1" "$action" "$prefix" "$rest"
                        # if it's a single word, try to resolve to a full sha1 and
                        # emit a second copy. This allows us to match on both message
                        # and on sha1 prefix