summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2008-03-03 15:58:18 +0100
committerHugues Hiegel <hugues@hiegel.fr>2008-03-07 14:15:21 +0100
commit0909b9e00e1b559a25a706d9adc824f25a76a7df (patch)
tree043d6edc7e69c8417310aa57382fd03f11898cb1
parente1a2f23681df4661ca8d960bc612fb55a10275f4 (diff)
=?utf-8?q?Ah=20ben=20en=20voil=C3=A0=20un=20test=20que=20il=20est=20mieux=20!
=20Surtout=20quand=20on=20est=20dans=20un=20sous=20dossier=20et=20qu'on=20vient =20de=20faire=20un=20git-add=20<fichier>=20pour=20la=20premi=C3=A8re=20fois.?= 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 01c7918..a4aa38a 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 . 2>&-)" != "" ]
+ if [ "$GITCHECK" != "no" -a "$(git-ls-files 2>&-)" != "" ]
then
GITBRANCH=$(get_git_branch);
if [ "$GITBRANCH" != "" ]