{"thread":{"id":"44100","subject":"[wishlist] disable boring messages","startedAt":"2016-09-16T22:27:18Z","lastAt":"2016-09-17T16:03:33Z","messageCount":2,"participants":["Alexander Inyukhin","Anatoly Borodin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"302081","messageId":"20160916221753.pvqdwb7vspkosyxu@shurick.grid.su","threadId":"44100","inReplyTo":null,"subject":"[wishlist] disable boring messages","fromName":"Alexander Inyukhin","fromEmail":"shurick@sectorb.msk.ru","sentAt":"2016-09-16T22:17:53Z","receivedAt":"2016-09-16T22:27:18Z","isPatch":false,"sender":{"key":"shurick@sectorb.msk.ru","avatar":null},"body":"Hi,\n\nis it possible to make git silent, when nothing interesting\nis happening?\n\nI have a lot of repos and a batch script to update them all,\nand I want to get rid of 'Fetching origin' and 'Already up-to-date.'\nmessages leaving only new refs and tags.\n"},{"id":"302102","messageId":"nrjpfr$565$1@blaine.gmane.org","threadId":"44100","inReplyTo":"20160916221753.pvqdwb7vspkosyxu@shurick.grid.su","subject":"Re: [wishlist] disable boring messages","fromName":"Anatoly Borodin","fromEmail":"anatoly.borodin@gmail.com","sentAt":"2016-09-17T16:03:07Z","receivedAt":"2016-09-17T16:03:33Z","isPatch":false,"sender":{"key":"anatoly.borodin@gmail.com","avatar":"https://gravatar.com/avatar/59f11f1f45cf5ebb7bcca8da94b43cfe5f596d91c0a3e27ad0d2a861cc2bbce7?d=mp&s=160"},"body":"Hi!\n\nAlexander Inyukhin <shurick@sectorb.msk.ru> wrote:\n> I have a lot of repos and a batch script to update them all,\n> and I want to get rid of 'Fetching origin' and 'Already up-to-date.'\n> messages leaving only new refs and tags.\n\nThere is an option `-q`, but it's too silent :)\n\nAs far as I can see, `git fetch` prints 'Fetching origin' etc to stdout,\nand new refs/tags to stderr (don't ask me why). So\n\n\tgit fetch blabla > /dev/null\n\t\nshould probably do the job.\n\nNow, if you collect and save those logs, you may need some shell-fu to\nredirect that stderr to stdout, but not to /dev/null. Something like\n\n\t(git fetch blabla > /dev/null) 2>&1\n\n(run `git fetch` in a subshell)...\n\n-- \nMit freundlichen Grüßen,\nAnatoly Borodin\n\n"}]}