summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonid Volnitsky <Leonid@Volnitsky.com>2008-06-19 01:19:23 +0300
committerLeonid Volnitsky <Leonid@Volnitsky.com>2008-06-19 01:19:23 +0300
commite18187f3bccb4b45efcf710584bb0a595cce546e (patch)
treece308f897495dfcb5a12e585076d876185dedac3
parentscreenshot pngs are renamed to be consistent (diff)
downloadgit-prompt-e18187f3bccb4b45efcf710584bb0a595cce546e.tar.gz
git-prompt-e18187f3bccb4b45efcf710584bb0a595cce546e.tar.bz2
git-prompt-e18187f3bccb4b45efcf710584bb0a595cce546e.zip
added renamed files detection
-rwxr-xr-xprompt1
1 files changed, 1 insertions, 0 deletions
diff --git a/prompt b/prompt
index 5de849f..5eb2d5e 100755
--- a/prompt
+++ b/prompt
@@ -271,6 +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
}
"
`