Re: git gc logs to standard error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Mon, Dec 14, 2009 at 08:23, Richard Rossel<rrossel@xxxxxxxxxxxx>  wrote:
$ git --version
git version 1.5.4.3

And when there is no change in the repo

$ git fetch --q; echo $?
0

no messages and no error , but when there is a change to syncronize

$ git fetch --q; echo $?
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 5 (delta remote: 2), reused 0 (delta 0)
Unpacking objects: 100% (5/5), done.
 From git@boss:sandbox
   3e4df7f..b92d27c  master     ->  origin/master
0

Don't use a double dash, if you're using the short option.

git fetch -q
OR
git fetch --quiet

git fetch --q<--- This is not what you think it is.

-Jacob

doh, sorry, my mistake

$ git fetch -q; echo $?
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 3 (delta 1), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From git@boss:sandbox
   b92d27c..17b8b5d  master     -> origin/master
0

These is the output when there is a change to be syncronized

BTW, in crontab the commands are using -q option, the mistake was made just here :)


--
Richard Rossel
Softare Engineer at Airsage Inc.
Valparaiso - Chile

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]