diff options
Diffstat (limited to 'git-status.sh')
-rwxr-xr-x | git-status.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-status.sh b/git-status.sh index b90ffc198d..2dda0c505c 100755 --- a/git-status.sh +++ b/git-status.sh @@ -13,7 +13,7 @@ report () { trailer="" while read status name newname do - echo -n "$header" + printf '%s' "$header" header="" trailer="# " @@ -27,7 +27,7 @@ report () { U ) echo "# unmerged: $name";; esac done - echo -n "$trailer" + printf '%s' "$trailer" [ "$header" ] } |