Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
send-pack: show progress when isatty(2)
[gitweb.git]
/
builtin
/
send-pack.c
diff --git
a/builtin/send-pack.c
b/builtin/send-pack.c
index 9df341c793d58eff215805bf5ca5da383f4a99d9..7d2271563016528c07b581a77ccdc63f8d98799c 100644
(file)
--- a/
builtin/send-pack.c
+++ b/
builtin/send-pack.c
@@
-492,6
+492,9
@@
int cmd_send_pack(int argc, const char **argv, const char *prefix)
}
}
+ if (!args.quiet)
+ args.progress = isatty(2);
+
if (args.stateless_rpc) {
conn = NULL;
fd[0] = 0;