Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Documentation: fix missing links to git(7)
[gitweb.git]
/
git-status.sh
diff --git
a/git-status.sh
b/git-status.sh
index b90ffc198d97bccfc7f484e8555b01ba9bf5217b..2dda0c505cf41c9dbd9fc6db75f3c0550f6ee82f 100755
(executable)
--- 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" ]
}