diff options
author | Tay Ray Chuan <rctay89@gmail.com> | 2010-02-24 13:50:23 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-24 17:35:44 +0100 |
commit | bde873c52914b40377a12764cab926ee974c3f32 (patch) | |
tree | 5eac44d9bbb54661c716a748bbd89af6fb9fe584 /transport.h | |
parent | Documentation/git-push: put --quiet before --verbose (diff) | |
download | git-bde873c52914b40377a12764cab926ee974c3f32.tar.xz git-bde873c52914b40377a12764cab926ee974c3f32.zip |
fetch: refactor verbosity option handling into transport.[ch]
transport_set_verbosity() is now provided to transport users.
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
-rw-r--r-- | transport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/transport.h b/transport.h index 7cea5cc723..7d1a0b6b36 100644 --- a/transport.h +++ b/transport.h @@ -122,6 +122,7 @@ struct transport *transport_get(struct remote *, const char *); **/ int transport_set_option(struct transport *transport, const char *name, const char *value); +void transport_set_verbosity(struct transport *transport, int verbosity); int transport_push(struct transport *connection, int refspec_nr, const char **refspec, int flags, |