diff options
author | Leonid Volnitsky <Leonid@Volnitsky.com> | 2008-06-18 10:34:50 +0300 |
---|---|---|
committer | Leonid Volnitsky <Leonid@Volnitsky.com> | 2008-06-18 10:34:50 +0300 |
commit | 838c56b1e2c561b8799d1995ccc5578bdc90566b (patch) | |
tree | 4a6f0329760df94ab07169ed29fe4bf2722442e0 /prompt | |
parent | fix: when doing "rebase -i" there are files called "unmerged" in status. Now... (diff) | |
download | git-prompt-838c56b1e2c561b8799d1995ccc5578bdc90566b.tar.gz git-prompt-838c56b1e2c561b8799d1995ccc5578bdc90566b.tar.bz2 git-prompt-838c56b1e2c561b8799d1995ccc5578bdc90566b.zip |
fix: send stderr from git status to /dev/null
Diffstat (limited to 'prompt')
-rwxr-xr-x | prompt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -251,7 +251,7 @@ PROMPT_COMMAND=' git_dir=`git-rev-parse --git-dir 2> /dev/null` if [[ $git_dir ]]; then - eval `git status | + eval `git status 2>/dev/null | sed -n " s/^# On branch /branch=/p |