]> git.ipfire.org Git - thirdparty/git.git/commit
pack-object: squelch eye-candy on non-tty
authorJunio C Hamano <junkio@cox.net>
Fri, 5 May 2006 10:20:44 +0000 (03:20 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 5 May 2006 22:24:12 +0000 (15:24 -0700)
commit86118bcb463e3f34b3df21d550335a40586dfb66
tree37aa6da73c22105433db7148457f52d06e292a83
parent188a634fec006a37489163b4bd36321d0a0ade77
pack-object: squelch eye-candy on non-tty

One of my post-update scripts runs a git-fetch into a separate
repository and sends the results back to me (2>&1); I end up
getting this in the mail:

    Generating pack...
    Done counting 180 objects.
    Result has 131 objects.
    Deltifying 131 objects.
       0% (0/131) done^M   1% (2/131) done^M...

This defaults not to do the progress report when not on a tty.

You could give --progress to force the progress report, but
let's not bother even documenting it nor mentioning it in the
usage string.

Signed-off-by: Junio C Hamano <junkio@cox.net>
pack-objects.c