Re: [PATCH v2] checkout: apply Dscho's dwim even with "--" present
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Oct 30, 2010, 00:41 UTC
- Message-ID
- <20101030004144.GA25927@burratino>
- In-Reply-To
- <20101029235358.GA21410@burratino>
Jonathan Nieder wrote:
Show 7 quoted lines
> --- a/builtin/checkout.c
> +++ b/builtin/checkout.c
> @@ -808,23 +814,24 @@ int cmd_checkout(int argc, const char **argv, const char *prefix)
> arg = "@{-1}";
>
> if (get_sha1_mb(arg, rev)) {
> + trace_printf("trace: guess = %d\n", dwim_new_local_branch);Gah! This line does not belong, sorry (though presumably it wouldn't interfere with testing).