summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2008-03-03 15:43:29 +0100
committerHugues Hiegel <hugues@hiegel.fr>2008-03-07 14:15:21 +0100
commite1a2f23681df4661ca8d960bc612fb55a10275f4 (patch)
treeea1647834c2dd56965344344e6defef8fe5b0412
parentb4243ecaa3462100b1b92984f5ffd328d61509b2 (diff)
=?utf-8?q?Chtit=20bug=20=C3=A0=20la=20con=20quand=20on=20n'a=20aucun=20repository=20GIT
=20dans=20les=20dossiers=20parents...=20;-)?= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1.5.4.1" This is a multi-part message in MIME format. --------------1.5.4.1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit
-rw-r--r--01_Functions.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/01_Functions.zsh b/01_Functions.zsh
index 9419d0d..01c7918 100644
--- a/01_Functions.zsh
+++ b/01_Functions.zsh
@@ -45,7 +45,7 @@ get_git_branch ()
check_git_status ()
{
## GIT TRACKING ##
- if [ "$GITCHECK" != "no" -a "$(git-log --pretty=oneline .)" != "" ]
+ if [ "$GITCHECK" != "no" -a "$(git-log --pretty=oneline . 2>&-)" != "" ]
then
GITBRANCH=$(get_git_branch);
if [ "$GITBRANCH" != "" ]