Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
unpack-objects: default to quiet if stderr is not a tty.
author
Junio C Hamano
<junkio@cox.net>
Sat, 7 Jan 2006 02:53:16 +0000
(18:53 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Sat, 7 Jan 2006 02:53:16 +0000
(18:53 -0800)
This would help cron/at jobs that run send-pack to mirror
repositories.
Signed-off-by: Junio C Hamano <junkio@cox.net>
unpack-objects.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
34c99da
)
diff --git
a/unpack-objects.c
b/unpack-objects.c
index 5c5cb12f6fa2a9a8fe061c2e75380c8b9e7ebaf1..4b5b5cb3e22454fe487002f698272a19a1d8861d 100644
(file)
--- a/
unpack-objects.c
+++ b/
unpack-objects.c
@@
-269,6
+269,8
@@
int main(int argc, char **argv)
setup_git_directory();
+ quiet = !isatty(2);
+
for (i = 1 ; i < argc; i++) {
const char *arg = argv[i];