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

Re: "Changes not staged for commit" after cloning a repo on macOS

From
HSHadi Safari <hadi@hadisafari.ir>
Date
Aug 16, 2018, 07:28 UTC
Message-ID
<d132cb0e-97f2-708c-83b2-124ee4569e17@hadisafari.ir>
In-Reply-To
<20180816062317.GA5080@tor.lan>
On 25/5/1397 AP 10:53 AM, Torsten Bögershausen wrote:
Show 38 quoted lines
> This repo seams not ment to be cloned onto a file system, which is case-insensitive.
> For example, (see below), this 2 files a different in the repo, but the file system
> can not have 'WordPress' and 'Wordpres's as different files or directories at the same
> time.
> This affects typically Mac OS and Windows users.
> 
> There is actually some work going on right now to inform the user about this problem.
> (Thanks Duy !)
> If I clone it with a patched Git, I get the following:
> 
> 
> git clone https://github.com/kevinxucs/Sublime-Gitignore.git
> Cloning into 'Sublime-Gitignore'...
> remote: Counting objects: 515, done.
> remote: Total 515 (delta 0), reused 0 (delta 0), pack-reused 515
> Receiving objects: 100% (515/515), 102.16 KiB | 35.00 KiB/s, done.
> Resolving deltas: 100% (143/143), done.
> warning: the following paths have collided (e.g. case-sensitive paths
> on a case-insensitive filesystem) and only one from the same
> colliding group is in the working tree:
> 
>    'boilerplates/Gcov.gitignore'
>    'boilerplates/Nanoc.gitignore'
>    'boilerplates/OpenCart.gitignore'
>    'boilerplates/SASS.gitignore'
>    'boilerplates/Sass.gitignore'
>    'boilerplates/Stella.gitignore'
>    'boilerplates/WordPress.gitignore'
>    'boilerplates/Wordpress.gitignore'
>    'boilerplates/gcov.gitignore'
>    'boilerplates/nanoc.gitignore'
>    'boilerplates/opencart.gitignore'
>    'boilerplates/stella.gitignore'
> 
> Would this text help you ?
> 
> I am asking because the development is still ongoing, so things can be improved.
> 
Yes, thank you. It's clear and helpful. I got what is happening.
-- 
Hadi Safari
http://hadisafari.ir/
Previous: Torsten Bögershausen
Message 5 of 5 in “"Changes not staged for commit" after cloning a repo on macOS”
  1. Hadi SafariAug 15, 2018
  2. Bryan TurnerAug 15, 2018
  3. Hadi SafariAug 16, 2018
  4. Torsten BögershausenAug 16, 2018
  5. Hadi SafariAug 16, 2018

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.