git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] checkout: apply Dscho's dwim even with "--" present

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 31, 2010, 03:57 UTC
Message-ID
<7v8w1f3tgm.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20101030004144.GA25927@burratino>
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 12 quoted lines
> Jonathan Nieder wrote:
>
>> --- 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).
Heh, two Gah's in a row?  After all mine might have been simpler ;-)
Previous: Jonathan Nieder
Message 10 of 10 in “Inconsistent behavior of the path disambiguator”
  1. Dun PealOct 29, 2010
  2. Junio C HamanoOct 29, 2010
  3. Dun PealOct 29, 2010
  4. Re* Inconsistent behavior of the path disambiguatorJunio C Hamano, Oct 29, 2010
  5. Jonathan NiederOct 29, 2010
  6. Junio C HamanoOct 29, 2010
  7. checkout: apply Dscho's dwim even with "--" presentJonathan Nieder, Oct 29, 2010
  8. Jonathan NiederOct 29, 2010
  9. Jonathan NiederOct 30, 2010
  10. Junio C HamanoOct 31, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.