Re: [PATCH] Use "--no-" prefix to switch off some of checkout dwimmery
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Oct 19, 2009, 06:07 UTC
- Message-ID
- <81b0412b0910182307n53b4a51cvaa14829ea8b40207@mail.gmail.com>
- In-Reply-To
- <7vzl7omi5z.fsf@alter.siamese.dyndns.org>
On Mon, Oct 19, 2009 at 00:49, Junio C Hamano <gitster@pobox.com> wrote:
Show 6 quoted lines
> Alex Riesen <raa.lkml@gmail.com> writes: >> + OPT_SET_INT(0, "dwim", &dwim_new_local_branch, >> + "Guess local branch from remote reference (default)", 0), > > Humph, how does SET_INT know to set it to 1 with --dwim and set it to 0 > with --no-dwim?
It seems to do, though (I checked before sending).