diff options
author | Steffen Prohaska <prohaska@zib.de> | 2007-11-11 15:01:44 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-11 14:37:03 -0800 |
commit | 1b2486d73789aaed0671e8d5cc60f5624d8e7ce5 (patch) | |
tree | ecefe0df944d707a9da3e685dd2356f2cbe78781 /builtin-push.c | |
parent | 05ee917a6eaa2a32e49221537e4632621d49b076 (diff) | |
download | git-1b2486d73789aaed0671e8d5cc60f5624d8e7ce5.tar.gz |
push: teach push to pass --verbose option to transport layer
A --verbose option to push should also be passed to the
transport layer, i.e. git-send-pack, git-http-push.
git push is modified to do so.
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-push.c')
-rw-r--r-- | builtin-push.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin-push.c b/builtin-push.c index 2c561953fc..6d1da07c46 100644 --- a/builtin-push.c +++ b/builtin-push.c @@ -115,6 +115,8 @@ int cmd_push(int argc, const char **argv, const char *prefix) flags |= TRANSPORT_PUSH_FORCE; if (dry_run) flags |= TRANSPORT_PUSH_DRY_RUN; + if (verbose) + flags |= TRANSPORT_PUSH_VERBOSE; if (tags) add_refspec("refs/tags/*"); if (all) |