diff options
author | Leonid Volnitsky <Leonid@Volnitsky.com> | 2008-06-19 00:30:23 +0300 |
---|---|---|
committer | Leonid Volnitsky <Leonid@Volnitsky.com> | 2008-06-19 00:30:23 +0300 |
commit | 17c934f394f819db303ac3010fc1aa97a2071b3a (patch) | |
tree | 577933fd4a78c167a702f86541424062bf0da1dc /prompt | |
parent | fix: new file were not collected, sed expr corrected. (diff) | |
download | git-prompt-17c934f394f819db303ac3010fc1aa97a2071b3a.tar.gz git-prompt-17c934f394f819db303ac3010fc1aa97a2071b3a.tar.bz2 git-prompt-17c934f394f819db303ac3010fc1aa97a2071b3a.zip |
fix: sed expr to extract "new files"
Diffstat (limited to 'prompt')
-rwxr-xr-x | prompt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } " ` |