Re: [PATCH v2] checkout: apply Dscho's dwim even with "--" present
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Oct 29, 2010, 23:59 UTC
- Message-ID
- <20101029235922.GB21410@burratino>
- In-Reply-To
- <20101029235358.GA21410@burratino>
Jonathan Nieder wrote:
> --- a/builtin/checkout.c
> +++ b/builtin/checkout.c
> + (argc == has_dash_dash ? 2 : 1)) {Hmph --- this should read
(argc == (has_dash_dash ? 2 : 1)))
for correctness and sanity.