aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@dev.mellanox.co.il>2007-05-16 20:09:41 +0300
committerJunio C Hamano <junkio@cox.net>2007-05-16 12:48:18 -0700
commit7841ce79854868eaaa146c1d018b17fc4f3320be (patch)
tree297639aba698d4c6a1c1b573ea96aa741c6bc9c3 /cache.h
parentfdcb769916c93b53517ef1b4cae447a3333c9b86 (diff)
downloadgit-7841ce79854868eaaa146c1d018b17fc4f3320be.tar.gz
git-7841ce79854868eaaa146c1d018b17fc4f3320be.tar.xz
connect: display connection progress
Make git notify the user about host resolution/connection attempts. This is useful both as a progress indicator on slow links, and helps reassure the user there are no firewall problems. Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il> Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index aaeb04a1b..206bbe4fd 100644
--- a/cache.h
+++ b/cache.h
@@ -463,7 +463,8 @@ struct ref {
#define REF_HEADS (1u << 1)
#define REF_TAGS (1u << 2)
-extern pid_t git_connect(int fd[2], char *url, const char *prog);
+#define CONNECT_VERBOSE (1u << 0)
+extern pid_t git_connect(int fd[2], char *url, const char *prog, int flags);
extern int finish_connect(pid_t pid);
extern int path_match(const char *path, int nr, char **match);
extern int match_refs(struct ref *src, struct ref *dst, struct ref ***dst_tail,