Package: git Version: 1:1.8.2.1-1 Severity: wishlist I'm using some patches to the mr multiple repository tool to silence it when there is no output or error from the command (see #694031). This was initially so that I could run run through all my git repositories, check the status and see which ones had unpushed patches, ignoring repositories without any pushed patches, using these commands:
git status -s git --no-pager log --branches --not --remotes --simplify-by-decoration --decorate --oneline I also use mr for git fetch and git pull but these are much more verbose than the above commands. I tried git fetch --quiet but that silences all output. I would like a git fetch/pull option that would make them not output anything (on a per-remote basis) if there is nothing to be fetched or if the branch being updated is up to date but still output the usual progress/etc info when there are errors or something to fetch/update. I want to see the progress output because depending on the repository I may need to look at the changes made in that repository. I have more than 300 repositories checked out so this would reduce the amount of time it takes for me to scan the output of mr fetch/update quite a bit. I'm not sure what to call this mode, ideas: --whisper --unix --shhh So I want these (300x0 = 0 lines to scan): pabs@chianamo ~/devel/games/chromium-bsu/git (master =) $ mr fetch -q pabs@chianamo ~/devel/games/chromium-bsu/git (master =) $ mr update -q pabs@chianamo ~/devel/games/chromium-bsu/git (master =) $ Instead of these (300x6 = 1200 lines to scan): pabs@chianamo ~/devel/games/chromium-bsu/git (master =) $ mr fetch -q mr fetch: /home/pabs/devel/games/chromium-bsu/git Fetching origin mr fetch: finished (1 ok) pabs@chianamo ~/devel/games/chromium-bsu/git (master =) $ mr update -q mr update: /home/pabs/devel/games/chromium-bsu/git Current branch master is up to date. mr update: finished (1 ok) pabs@chianamo ~/devel/games/chromium-bsu/git (master =) $ -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages git depends on: ii git-man 1:1.8.2.1-1 ii libc6 2.13-38 ii libcurl3-gnutls 7.26.0-1+wheezy1 ii liberror-perl 0.17-1 ii libexpat1 2.1.0-1 ii libpcre3 1:8.30-5 ii perl-modules 5.14.2-20 ii zlib1g 1:1.2.7.dfsg-13 Versions of packages git recommends: ii less 444-4 ii openssh-client [ssh-client] 1:6.0p1-4 ii patch 2.6.1-3 ii rsync 3.0.9-4 Versions of packages git suggests: ii gettext-base 0.18.1.1-9 pn git-arch <none> ii git-bzr 1:1.8.2.1-1 pn git-cvs <none> pn git-daemon-run | git-daemon-sysvinit <none> pn git-doc <none> pn git-el <none> ii git-email 1:1.8.2.1-1 ii git-gui 1:1.8.2.1-1 ii git-svn 1:1.8.2.1-1 ii gitk 1:1.8.2.1-1 pn gitweb <none> -- bye, pabs http://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part