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

Re: [PATCH] t3502: Disambiguate between file and rev by adding --

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 6, 2007, 01:20 UTC
Message-ID
<7vabpskw50.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<2DC3CFEE-ACA0-448F-9957-EB98F299D812@silverinsanity.com>
Brian Gernhardt <benji@silverinsanity.com> writes:
Show 12 quoted lines
> On Nov 5, 2007, at 5:25 PM, Alex Riesen wrote:
>
>> Brian Gernhardt, Sun, Nov 04, 2007 16:31:26 +0100:
>>> This test failed because git-diff didn't know if it was asking for
>>> the
>>> file "a" or the branch "a".  Adding "--" at the end of the ambiguous
>>> commands allows the test to finish properly.
>>
>> To be precise: this is ambiguous only on case-challenged filesystems
>
> Oh.  I just saw the ambiguous error.  Should I re-post with a more
> correct commit message?

This is what I wrote but haven't pushed out (I will have to tend other topics first):

commit 9f12bec4386fc96e5b617268822cbb75e4c76101
Author: Brian Gernhardt <benji@silverinsanity.com>
Date:   Sun Nov 4 10:31:26 2007 -0500
    t3502: Disambiguate between file and rev by adding --
    
    On a case insensitive file system, this test fails because git-diff
    doesn't know if it is asking for the file "A" or the tag "a".
    
    Adding "--" at the end of the ambiguous commands allows the test to
    finish properly.
    
    Signed-off-by: Brian Gernhardt <benji@silverinsanity.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Previous: Brian Gernhardt
Message 4 of 4 in “t3502: Disambiguate between file and rev by adding --”
  1. t3502: Disambiguate between file and rev by adding --Brian Gernhardt, Nov 4, 2007
  2. Alex RiesenNov 5, 2007
  3. Brian GernhardtNov 6, 2007
  4. Junio C HamanoNov 6, 2007

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.