diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-03-04 12:09:50 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-03-05 13:39:46 -0800 |
commit | c2aba155da10b8bc9f867d2f0ac0e63cc8dae1a4 (patch) | |
tree | 89844bb8e150b9f03caa375a61ea4c122e5fff41 /transport.h | |
parent | 557899ff6b4093ebffba71e916f7241b36b59068 (diff) | |
download | git-c2aba155da10b8bc9f867d2f0ac0e63cc8dae1a4.tar.gz |
push: --follow-tags
The new option "--follow-tags" tells "git push" to push annotated
tags that are missing from the other side and that can be reached by
the history that is otherwise pushed out.
For example, if you are using the "simple", "current", or "upstream"
push, you would ordinarily push the history leading to the commit at
your current HEAD and nothing else. With this option, you would
also push all annotated tags that can be reached from that commit to
the other side.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport.h')
-rw-r--r-- | transport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/transport.h b/transport.h index 4a61c0c3f2..8c493f7f63 100644 --- a/transport.h +++ b/transport.h @@ -104,6 +104,7 @@ struct transport { #define TRANSPORT_RECURSE_SUBMODULES_CHECK 64 #define TRANSPORT_PUSH_PRUNE 128 #define TRANSPORT_RECURSE_SUBMODULES_ON_DEMAND 256 +#define TRANSPORT_PUSH_FOLLOW_TAGS 1024 #define TRANSPORT_SUMMARY_WIDTH (2 * DEFAULT_ABBREV + 3) #define TRANSPORT_SUMMARY(x) (int)(TRANSPORT_SUMMARY_WIDTH + strlen(x) - gettext_width(x)), (x) |