summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-status.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/git-status.sh b/git-status.sh
index 6e2783a7b4..fbdd377539 100755
--- a/git-status.sh
+++ b/git-status.sh
@@ -45,10 +45,10 @@ then
sed -e '
s/^://
h
- s/^[^\t]*//
+ s/^[^ ]*//
s/ /\\ /g
x
- s/\t.*$//
+ s/ .*$//
G
s/\n/ /' |
report "Updated but not checked in" "will commit"
@@ -71,10 +71,10 @@ git-diff-files |
sed -e '
s/^://
h
- s/^[^\t]*//
+ s/^[^ ]*//
s/ /\\ /g
x
- s/\t.*$//
+ s/ .*$//
G
s/\n/ /' |
report "Changed but not updated" "use git-update-index to mark for commit"