summaryrefslogtreecommitdiff
path: root/transport.h
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2008-10-09 01:40:32 +0200
committerShawn O. Pearce <spearce@spearce.org>2008-10-09 11:26:17 -0700
commit21188b1eafd3741fda0f7905dc997279a17b50ba (patch)
tree68bbf5f02d00fd354efd097fff73ec09f4d9c4b6 /transport.h
parent23abd3f48cb217d1558fa1984bfa8c502717c08f (diff)
downloadgit-21188b1eafd3741fda0f7905dc997279a17b50ba.tar.gz
Implement git clone -v
The new -v option forces the progressbar, even in case the output is not a terminal. This can be useful if the caller is an IDE or wrapper which wants to scrape the progressbar from stderr and show its information in a different format. Signed-off-by: Miklos Vajna <vmiklos@frugalware.org> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'transport.h')
-rw-r--r--transport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/transport.h b/transport.h
index d0b52053ff..6bbc1a8264 100644
--- a/transport.h
+++ b/transport.h
@@ -25,6 +25,8 @@ struct transport {
int (*disconnect)(struct transport *connection);
char *pack_lockfile;
signed verbose : 2;
+ /* Force progress even if the output is not a tty */
+ unsigned progress : 1;
};
#define TRANSPORT_PUSH_ALL 1