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

Re: git stash broken on MS Windows (automatically modify the files again)

From
Petr Bena <benapetr@gmail.com>
Date
Dec 3, 2014, 17:03 UTC
Message-ID
<CA+4EQ5e6464+MP7TqWMT8ceO6ZgZEE6xJPxJBfpAhoj4B-03Uw@mail.gmail.com>
In-Reply-To
<CAHb+SPAw+aeR4RsB6COhq4RMxuXJ64scY-Ez5tZPk3ziEAGm=Q@mail.gmail.com>
Yay

Why doesn't windows git perform some kind of check here, and doesn't tell you a message like: this repository contains multiple files with same name, which I can't checkout on this OS Or something like that?

On Wed, Dec 3, 2014 at 5:50 PM, Aneurin Price <aneurin.price@gmail.com> wrote:
Show 20 quoted lines
> On 3 December 2014 at 14:48, Petr Bena <benapetr@gmail.com> wrote:
>> Only solution so far was to clone on linux, remove the folder which
>> contains these files and push them, then I had to delete the whole
>> repository on windows and clone it again.
>>
>> If I checkout any revision which contains these files repository get
>> broken in a way that only solution is deleting it from disk and
>> cloning again. Is this a bug?
>>
>
> <snip>
>
>>> fatal: Will not add file alias 'BSS/export_home_oracle/scripts_IDAEU001/Audit/au
>>> dit_off.sql' ('BSS/export_home_oracle/scripts_IDAEU001/audit/audit_off.sql' alre
>>> ady exists in index)
>>>
>
> On your Linux machine (and in the repository), do you actually have
> both 'BSS/export_home_oracle/scripts_IDAEU001/Audit' and
> 'BSS/export_home_oracle/scripts_IDAEU001/audit' directories?
Previous: Aneurin Price
Message 5 of 5 in “git stash broken on MS Windows (automatically modify the files again)”
  1. Petr BenaDec 3, 2014
  2. Petr BenaDec 3, 2014
  3. Petr BenaDec 3, 2014
  4. Aneurin PriceDec 3, 2014
  5. Petr BenaDec 3, 2014

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.