summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonid Volnitsky <Leonid@Volnitsky.com>2008-06-21 23:37:27 +0300
committerLeonid Volnitsky <Leonid@Volnitsky.com>2008-06-21 23:37:27 +0300
commitc071fe3faea6d2d956748835c1e705035c1bf601 (patch)
tree14b7560a9013c65641b5952f4eb2f7da6d29a97e
parentcan not cd to stats/, shows detached dir (diff)
downloadgit-prompt-c071fe3faea6d2d956748835c1e705035c1bf601.tar.gz
git-prompt-c071fe3faea6d2d956748835c1e705035c1bf601.tar.bz2
git-prompt-c071fe3faea6d2d956748835c1e705035c1bf601.zip
added handling of renamed files to git status
-rwxr-xr-xprompt2
1 files changed, 1 insertions, 1 deletions
diff --git a/prompt b/prompt
index d68f859..a3e955e 100755
--- a/prompt
+++ b/prompt
@@ -271,7 +271,7 @@ PROMPT_COMMAND='
s/^# Changes to be committed:/added=added/p
s/^# modified: /git_added_files+=\" \"/p
s/^# new file: /git_added_files+=\" \"/p
- s/^# renamed: /git_added_files+=\" \"/p
+ s/^# renamed:[^>]*> /git_added_files+=\" \"/p
}
"
`