summaryrefslogtreecommitdiff
path: root/prompt
diff options
context:
space:
mode:
authorLeonid Volnitsky <Leonid@Volnitsky.com>2008-06-18 10:34:50 +0300
committerLeonid Volnitsky <Leonid@Volnitsky.com>2008-06-18 10:34:50 +0300
commit838c56b1e2c561b8799d1995ccc5578bdc90566b (patch)
tree4a6f0329760df94ab07169ed29fe4bf2722442e0 /prompt
parentfix: when doing "rebase -i" there are files called "unmerged" in status. Now... (diff)
downloadgit-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-xprompt2
1 files changed, 1 insertions, 1 deletions
diff --git a/prompt b/prompt
index 428a892..85462e6 100755
--- a/prompt
+++ b/prompt
@@ -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