Code

remote add: add a --[no-]tags option
authorSamuel Tardieu <sam@rfc1149.net>
Mon, 19 Apr 2010 23:31:31 +0000 (01:31 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Apr 2010 23:39:24 +0000 (16:39 -0700)
commit111fb858654b95355da05772b4dcdf91decc4721
tree22d8b2a67491085d2c2b33598883f04d7920ae7a
parent944163a4bd4cc4c35392147d10020ba57c6d7d87
remote add: add a --[no-]tags option

Add '--[no-]tags' options to 'git remote add' which add the
'remote.REMOTE.tagopt = --[no-]tags' to the configuration file.
This mimics the "--tags" and "--no-tags" options of "git fetch".

Signed-off-by: Samuel Tardieu <sam@rfc1149.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-remote.txt
builtin/remote.c
t/t5505-remote.sh