From e1a2f23681df4661ca8d960bc612fb55a10275f4 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Mon, 3 Mar 2008 15:43:29 +0100 Subject: =?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 --- 01_Functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" != "" ] -- cgit v1.2.3