summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonid Volnitsky <Leonid@Volnitsky.com>2008-06-18 22:30:55 +0300
committerLeonid Volnitsky <Leonid@Volnitsky.com>2008-06-18 22:30:55 +0300
commite707923ea61dd0e9373223830ce4b6e9c2d8a286 (patch)
tree7701f6c41dd88d7bf14e63edbd43849718a7f475
parentscript to make screen-shots (diff)
parentfix: new file were not collected, sed expr corrected. (diff)
downloadgit-prompt-e707923ea61dd0e9373223830ce4b6e9c2d8a286.tar.gz
git-prompt-e707923ea61dd0e9373223830ce4b6e9c2d8a286.tar.bz2
git-prompt-e707923ea61dd0e9373223830ce4b6e9c2d8a286.zip
Merge branch 'git'
-rwxr-xr-xprompt4
1 files changed, 2 insertions, 2 deletions
diff --git a/prompt b/prompt
index 0af64e5..01567cf 100755
--- a/prompt
+++ b/prompt
@@ -257,8 +257,8 @@ PROMPT_COMMAND='
s/^nothing to commit (working directory clean)/clean=clean/p
/^# Untracked files:/,/^[^#]/{
- s/^# /git_untracked_files+=\" \"/p
s/^# Untracked files:/untracked=untracked/p
+ s/^# /git_untracked_files+=\" \"/p
}
/^# Changed but not updated:/,/^# [A-Z]/ {
@@ -270,7 +270,7 @@ PROMPT_COMMAND='
/^# Changes to be committed:/,/^# [A-Z]/ {
s/^# Changes to be committed:/added=added/p
s/^# modified: /git_added_files+=\" \"/p
- s/^# new file: /git_added_files+=\" \"/p
+ s/^# new file: /git_added_files+=\" \"/p
}
"
`