summaryrefslogtreecommitdiff
path: root/transport.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2009-08-05 16:22:19 -0400
committerJunio C Hamano <gitster@pobox.com>2009-08-05 20:14:07 -0700
commitafdeeb00eec471d86c9d421781ba8cb545be849c (patch)
treee4fd719850d6221962d2e2466620c4e0f086e704 /transport.h
parent3f55e4107f7906134df029f9a5c44864f9258110 (diff)
downloadgit-afdeeb00eec471d86c9d421781ba8cb545be849c.tar.gz
push: add --quiet flag
Some transports produce output even without "--verbose" turned on. This provides a way to tell them to be more quiet (whereas simply redirecting might lose error messages). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport.h')
-rw-r--r--transport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/transport.h b/transport.h
index 51b539778c..f1d3ebf674 100644
--- a/transport.h
+++ b/transport.h
@@ -36,6 +36,7 @@ struct transport {
#define TRANSPORT_PUSH_MIRROR 8
#define TRANSPORT_PUSH_VERBOSE 16
#define TRANSPORT_PUSH_PORCELAIN 32
+#define TRANSPORT_PUSH_QUIET 64
/* Returns a transport suitable for the url */
struct transport *transport_get(struct remote *, const char *);