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

Re: t7400 broken on pu (Mac OS X)

From
Torsten Bögershausen <tboegi@web.de>
Date
Jan 10, 2013, 19:06 UTC
Message-ID
<50EF1145.6020002@web.de>
In-Reply-To
<7v38y83ooo.fsf@alter.siamese.dyndns.org>
On 10.01.13 18:58, Junio C Hamano wrote:
Show 28 quoted lines
> Duy Nguyen <pclouds@gmail.com> writes:
>
>> On Wed, Jan 09, 2013 at 07:43:03PM +0100, Torsten Bögershausen wrote:
>>> The current pu fails on Mac OS, case insensitive FS.
>>>
>>>
>>> Bisecting points out
>>> commit 3f28e4fafc046284657945798d71c57608bee479
>>> [snip]
>>> Date:   Sun Jan 6 13:21:07 2013 +0700
>>>
>>>     Convert add_files_to_cache to take struct pathspec
>>>
>> I can reproduce it by setting core.ignorecase to true. There is a bug
>> that I overlooked. Can you verify if this throw-away patch fixes it
>> for you? A proper fix will be in the reroll later.
> I can see why it is wrong to let pathspec.raw be rewritten without
> making matching change to the containing pathspec, but I find it
> strange why it matters only on case-insensitive codepath.
>
> I agree with the "Hack" comment that the canonicalization should be
> done at a higher level upfront.  Then ls-files does not need its own
> strip_trailing_slash_from_submodules(), and check_path_for_gitlink()
> can (and should---the callers of "check_anything" would not expect
> the function to change things) stop rewriting its parameter.
>
> Thanks for a quick response.
>

The patch fixes t7400. Thanks from my side as well /Torsten

Previous: Junio C HamanoNext: Duy Nguyen
Message 5 of 6 in “t7400 broken on pu (Mac OS X)”
  1. Torsten BögershausenJan 9, 2013
  2. Junio C HamanoJan 9, 2013
  3. Duy NguyenJan 10, 2013
  4. Junio C HamanoJan 10, 2013
  5. Torsten BögershausenJan 10, 2013
  6. Duy NguyenJan 11, 2013

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.