summaryrefslogtreecommitdiff
path: root/git-status.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-12-11 16:49:45 -0800
committerJunio C Hamano <junkio@cox.net>2005-12-11 16:49:45 -0800
commita9572072f0ab0ac97e64b0dc01254a3ad95befe1 (patch)
tree2375e3b4aea11444375f9f587c8ca4cd8d22d6d0 /git-status.sh
parent423325a2d24638ddcc82ce47be5e40be550f4507 (diff)
parentb825e6ff5d003db8efd1ed43cdbbb9d637df0a0c (diff)
GIT 0.99.9m aka 1.0rc5v1.0rc5v0.99.9m
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-status.sh')
-rwxr-xr-xgit-status.sh4
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" ]
}