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

Re: GIT 1.6.0-rc1

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 29, 2008, 08:36 UTC
Message-ID
<7vljzlhyt8.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<7v4p69jefb.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 22 quoted lines
>>> Junio C Hamano, Mon, Jul 28, 2008 08:44:52 +0200:
>>>> Alex Riesen <raa.lkml@gmail.com> writes:
>>>> 
>>>> > t2103-update-index-ignore-missing.sh still broken on Windows because
>>>> > of stat.st_size being 0 for directories there.
>>>> 
>>>> I recall we did not reach a useful conclusion of that discussion.
>>>
>>> Why isn't the proposed patch useful? (and would it be possible to make
>>> the answer out of plain, small and short words?)
>>
>> Can you answer out of plain, small and short words why the proposed patch
>> is correct without unwanted side effects, not just "this seems to solve
>> the particular issue for me but I don't know if it has unintended side
>> effects"?
>
> Ok, I took a deeper look at the codepaths involved.  Although it does work
> around the issue, I do not think your patch alone is the "correct" one in
> the longer term.
>
> It needs a bit of explanation, and the explanation won't be exactly
> "plain, small and short", unfortunately.

Alex, I ran the full test with this, but only on Linux boxes; obviously not on any flavor of Windows. I think it is correct, and the "first line of defence" fix is the same as your patch, so I'd assume it would work for you as well. But extra eyeballs are always appreciated.

Previous: Junio C HamanoNext: Alex Riesen
Message 8 of 12 in “GIT 1.6.0-rc1”
  1. Junio C HamanoJul 28, 2008
  2. Petr BaudisJul 28, 2008
  3. Alex RiesenJul 28, 2008
  4. Junio C HamanoJul 28, 2008
  5. Alex RiesenJul 28, 2008
  6. Junio C HamanoJul 29, 2008
  7. Junio C HamanoJul 29, 2008
  8. Junio C HamanoJul 29, 2008
  9. Alex RiesenJul 29, 2008
  10. Junio C HamanoJul 29, 2008
  11. Alex RiesenJul 30, 2008
  12. Junio C HamanoJul 30, 2008

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.