Re: [PATCH/RFC] fetch: allow command line --tags to override config
- From
Tay Ray Chuan <rctay89@gmail.com>
- Date
- Aug 5, 2010, 09:56 UTC
- Message-ID
- <AANLkTikf96RLfTq4Q6DAPesr6j70CJfT8vBzidJk42dE@mail.gmail.com>
- In-Reply-To
- <1280948202-17385-1-git-send-email-ComputerDruid@gmail.com>
Hi,
On Thu, Aug 5, 2010 at 2:56 AM, Daniel Johnson <computerdruid@gmail.com> wrote:
Show 12 quoted lines
> Originally, if remote.<name>.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 <ComputerDruid@gmail.com>
This is pretty confusing as it is. Could you please provide a patch for the git-fetch documentation too?
-- Cheers, Ray Chuan