Merge branch 'mg/doc-remote-tags-or-not'
authorJunio C Hamano <gitster@pobox.com>
Fri, 6 Mar 2015 23:02:27 +0000 (15:02 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Mar 2015 23:02:28 +0000 (15:02 -0800)
"git remote add" mentioned "--tags" and "--no-tags" and was not
clear that fetch from the remote in the future will use the default
behaviour when neither is given to override it.

* mg/doc-remote-tags-or-not:
git-remote.txt: describe behavior without --tags and --no-tags

Documentation/git-remote.txt
index a77607b852c1f9cbcea7b9d1a359e5c467933aa0..4c6d6de7b77c2f1a70e2335fed0e65e956f99c6f 100644 (file)
@@ -58,6 +58,9 @@ remote repository.
 With `--no-tags` option, `git fetch <name>` does not import tags from
 the remote repository.
 +
+By default, only tags on fetched branches are imported
+(see linkgit:git-fetch[1]).
++
 With `-t <branch>` option, instead of the default glob
 refspec for the remote to track all branches under
 the `refs/remotes/<name>/` namespace, a refspec to track only `<branch>`