git-commit-vandalism/t/t5515
Michael Haggerty c5a84e92a2 fetch --tags: fetch tags *in addition to* other stuff
Previously, fetch's "--tags" option was considered equivalent to
specifying the refspec "refs/tags/*:refs/tags/*" on the command line;
in particular, it caused the remote.<name>.refspec configuration to be
ignored.

But it is not very useful to fetch tags without also fetching other
references, whereas it *is* quite useful to be able to fetch tags *in
addition to* other references.  So change the semantics of this option
to do the latter.

If a user wants to fetch *only* tags, then it is still possible to
specifying an explicit refspec:

    git fetch <remote> 'refs/tags/*:refs/tags/*'

Please note that the documentation prior to 1.8.0.3 was ambiguous
about this aspect of "fetch --tags" behavior.  Commit

    f0cb2f137c 2012-12-14 fetch --tags: clarify documentation

made the documentation match the old behavior.  This commit changes
the documentation to match the new behavior.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2013-10-30 14:16:36 -07:00
..
fetch.br-branches-default
fetch.br-branches-default_branches-default
fetch.br-branches-default-merge
fetch.br-branches-default-merge_branches-default
fetch.br-branches-default-octopus
fetch.br-branches-default-octopus_branches-default
fetch.br-branches-one
fetch.br-branches-one_branches-one
fetch.br-branches-one-merge
fetch.br-branches-one-merge_branches-one
fetch.br-branches-one-octopus
fetch.br-branches-one-octopus_branches-one
fetch.br-config-explicit
fetch.br-config-explicit_config-explicit
fetch.br-config-explicit-merge
fetch.br-config-explicit-merge_config-explicit
fetch.br-config-explicit-octopus
fetch.br-config-explicit-octopus_config-explicit
fetch.br-config-glob
fetch.br-config-glob_config-glob
fetch.br-config-glob-merge
fetch.br-config-glob-merge_config-glob
fetch.br-config-glob-octopus
fetch.br-config-glob-octopus_config-glob
fetch.br-remote-explicit
fetch.br-remote-explicit_remote-explicit
fetch.br-remote-explicit-merge
fetch.br-remote-explicit-merge_remote-explicit
fetch.br-remote-explicit-octopus
fetch.br-remote-explicit-octopus_remote-explicit
fetch.br-remote-glob
fetch.br-remote-glob_remote-glob
fetch.br-remote-glob-merge
fetch.br-remote-glob-merge_remote-glob
fetch.br-remote-glob-octopus
fetch.br-remote-glob-octopus_remote-glob
fetch.br-unconfig
fetch.br-unconfig_--tags_.._.git fetch --tags: fetch tags *in addition to* other stuff 2013-10-30 14:16:36 -07:00
fetch.br-unconfig_.._.git
fetch.br-unconfig_.._.git_one
fetch.br-unconfig_.._.git_one_tag_tag-one_tag_tag-three-file
fetch.br-unconfig_.._.git_one_two
fetch.br-unconfig_.._.git_tag_tag-one_tag_tag-three
fetch.br-unconfig_.._.git_tag_tag-one-tree_tag_tag-three-file
fetch.br-unconfig_branches-default
fetch.br-unconfig_branches-one
fetch.br-unconfig_config-explicit
fetch.br-unconfig_config-glob
fetch.br-unconfig_remote-explicit
fetch.br-unconfig_remote-glob
fetch.master
fetch.master_--tags_.._.git fetch --tags: fetch tags *in addition to* other stuff 2013-10-30 14:16:36 -07:00
fetch.master_.._.git
fetch.master_.._.git_one
fetch.master_.._.git_one_tag_tag-one_tag_tag-three-file
fetch.master_.._.git_one_two
fetch.master_.._.git_tag_tag-one_tag_tag-three
fetch.master_.._.git_tag_tag-one-tree_tag_tag-three-file
fetch.master_branches-default
fetch.master_branches-one
fetch.master_config-explicit
fetch.master_config-glob
fetch.master_remote-explicit
fetch.master_remote-glob
refs.br-branches-default
refs.br-branches-default_branches-default
refs.br-branches-default-merge
refs.br-branches-default-merge_branches-default
refs.br-branches-default-octopus
refs.br-branches-default-octopus_branches-default
refs.br-branches-one
refs.br-branches-one_branches-one
refs.br-branches-one-merge
refs.br-branches-one-merge_branches-one
refs.br-branches-one-octopus
refs.br-branches-one-octopus_branches-one
refs.br-config-explicit
refs.br-config-explicit_config-explicit
refs.br-config-explicit-merge
refs.br-config-explicit-merge_config-explicit
refs.br-config-explicit-octopus
refs.br-config-explicit-octopus_config-explicit
refs.br-config-glob
refs.br-config-glob_config-glob
refs.br-config-glob-merge
refs.br-config-glob-merge_config-glob
refs.br-config-glob-octopus
refs.br-config-glob-octopus_config-glob
refs.br-remote-explicit
refs.br-remote-explicit_remote-explicit
refs.br-remote-explicit-merge
refs.br-remote-explicit-merge_remote-explicit
refs.br-remote-explicit-octopus
refs.br-remote-explicit-octopus_remote-explicit git-fetch test: test tracking fetch results, not just FETCH_HEAD 2008-03-26 01:29:54 -07:00
refs.br-remote-glob
refs.br-remote-glob_remote-glob
refs.br-remote-glob-merge
refs.br-remote-glob-merge_remote-glob
refs.br-remote-glob-octopus
refs.br-remote-glob-octopus_remote-glob
refs.br-unconfig
refs.br-unconfig_--tags_.._.git
refs.br-unconfig_.._.git
refs.br-unconfig_.._.git_one
refs.br-unconfig_.._.git_one_tag_tag-one_tag_tag-three-file
refs.br-unconfig_.._.git_one_two
refs.br-unconfig_.._.git_tag_tag-one_tag_tag-three
refs.br-unconfig_.._.git_tag_tag-one-tree_tag_tag-three-file
refs.br-unconfig_branches-default
refs.br-unconfig_branches-one
refs.br-unconfig_config-explicit
refs.br-unconfig_config-glob
refs.br-unconfig_remote-explicit
refs.br-unconfig_remote-glob
refs.master
refs.master_--tags_.._.git
refs.master_.._.git
refs.master_.._.git_one
refs.master_.._.git_one_tag_tag-one_tag_tag-three-file
refs.master_.._.git_one_two
refs.master_.._.git_tag_tag-one_tag_tag-three
refs.master_.._.git_tag_tag-one-tree_tag_tag-three-file
refs.master_branches-default
refs.master_branches-one
refs.master_config-explicit
refs.master_config-glob
refs.master_remote-explicit
refs.master_remote-glob