X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-status.sh;h=fbdd377539eea2c4521a2df2d37ff06b80567664;hb=11f0dafe2be419240c0006c3e9112cbad3568baf;hp=6e2783a7b4df7ec77aa4d472e84db323f65ecc83;hpb=0d0b7c237af0846123bef73879d65a3e78a56461;p=git.git diff --git a/git-status.sh b/git-status.sh index 6e2783a7..fbdd3775 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"