From: Daniel Johnson Date: Wed, 11 Aug 2010 22:57:20 +0000 (-0400) Subject: fetch: allow command line --tags to override config X-Git-Tag: v1.7.2.3~6^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/ed36854651303dd18156786fc096de611f43912c?ds=inline;hp=ed36854651303dd18156786fc096de611f43912c fetch: allow command line --tags to override config Originally, if remote..tagopt was set, the --tags and option would have no effect when given to git fetch. So if tagopt="--no-tags" git fetch --tags would not actually fetch tags. This patch changes this behavior to only follow what is written in the config if there is no option passed by the command line. Signed-off-by: Daniel Johnson Signed-off-by: Junio C Hamano ---