projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34c99da
)
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
diff --git
a/unpack-objects.c
b/unpack-objects.c
index
5c5cb12
..
4b5b5cb
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];