summaryrefslogtreecommitdiff
path: root/git-status-script
diff options
context:
space:
mode:
Diffstat (limited to 'git-status-script')
-rwxr-xr-xgit-status-script14
1 files changed, 7 insertions, 7 deletions
diff --git a/git-status-script b/git-status-script
index 72a93f74e8..f91bb55894 100755
--- a/git-status-script
+++ b/git-status-script
@@ -13,13 +13,13 @@ report () {
trailer="#
"
case "$status" in
- M) echo "# modified: $name";;
- D) echo "# deleted: $name";;
- T) echo "# typechange: $name";;
- C) echo "# copied: $name -> $newname";;
- R) echo "# renamed: $name -> $newname";;
- N) echo "# new file: $name";;
- U) echo "# unmerged: $name";;
+ M ) echo "# modified: $name";;
+ D*) echo "# deleted: $name";;
+ T ) echo "# typechange: $name";;
+ C*) echo "# copied: $name -> $newname";;
+ R*) echo "# renamed: $name -> $newname";;
+ N*) echo "# new file: $name";;
+ U ) echo "# unmerged: $name";;
esac
done
echo -n "$trailer"