summaryrefslogtreecommitdiff
path: root/prompt
diff options
context:
space:
mode:
authorLeonid Volnitsky <Leonid@Volnitsky.com>2008-06-17 09:42:24 +0300
committerLeonid Volnitsky <Leonid@Volnitsky.com>2008-06-17 09:43:00 +0300
commit292d332bfbaa4714c11006ac8a9d66a7aa519448 (patch)
treee8c1de57d9402df4dcd3c74da931c8594282ca28 /prompt
parentadded detached state and corresponding display of branch (diff)
downloadgit-prompt-292d332bfbaa4714c11006ac8a9d66a7aa519448.tar.gz
git-prompt-292d332bfbaa4714c11006ac8a9d66a7aa519448.tar.bz2
git-prompt-292d332bfbaa4714c11006ac8a9d66a7aa519448.zip
fix: when doing "rebase -i" there are files called "unmerged" in status. Now collected into modified_files
Diffstat (limited to 'prompt')
-rwxr-xr-xprompt3
1 files changed, 2 insertions, 1 deletions
diff --git a/prompt b/prompt
index 0cc25b1..428a892 100755
--- a/prompt
+++ b/prompt
@@ -264,7 +264,8 @@ PROMPT_COMMAND='
/^# Changed but not updated:/,/^# [A-Z]/ {
s/^# Changed but not updated:/modified=modified/p
- s/# modified: /git_modified_files+=\" \"/p
+ s/^# modified: /git_modified_files+=\" \"/p
+ s/^# unmerged: /git_modified_files+=\" \"/p
}
/^# Changes to be committed:/,/^# [A-Z]/ {