summaryrefslogtreecommitdiff
path: root/git-prompt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git-prompt.sh')
-rwxr-xr-xgit-prompt.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/git-prompt.sh b/git-prompt.sh
index 044252d..79890bc 100755
--- a/git-prompt.sh
+++ b/git-prompt.sh
@@ -337,9 +337,9 @@ parse_svn_status() {
unset status modified added clean init added mixed untracked op detached
eval `svn status 2>/dev/null |
sed -n '
- s/^A \([^.].*\)/modified=modified; modified_files[${#modified_files[@]}]=\"\1\";/p
- s/^M \([^.].*\)/modified=modified; modified_files[${#modified_files[@]}]=\"\1\";/p
- s/^\? \([^.].*\)/untracked=untracked; untracked_files[${#untracked_files[@]}]=\"\1\";/p
+ s/^A... \([^.].*\)/modified=modified; modified_files[${#modified_files[@]}]=\"\1\";/p
+ s/^M... \([^.].*\)/modified=modified; modified_files[${#modified_files[@]}]=\"\1\";/p
+ s/^\?... \([^.].*\)/untracked=untracked; untracked_files[${#untracked_files[@]}]=\"\1\";/p
'
`
# TODO branch detection if standard repo layout