On 02/03/2015 07:23 AM, Kevin Coleman wrote:
Awesome reply! That makes sense. So basically if I accidentally capitalize a
folder name and commit it, I need to be very careful when I correct it.
Definitely ran into this problem with my repo and ‘lost’ a few commits before I
noticed something
On 02/03/2015 05:52 AM, Kevin Coleman wrote:
Yes, I am on a Mac. I just tried that, but I don’t think that completely fixed
it. As you can see it tracks “foo/bar.md” and then it tracks “Foo/bar.md”. It
still tracks both “foo” and “Foo” even tho only “Foo” exists in my dir after
the
Awesome reply! That makes sense. So basically if I accidentally capitalize a
folder name and commit it, I need to be very careful when I correct it.
Definitely ran into this problem with my repo and ‘lost’ a few commits before I
noticed something was off.
-Kevin Coleman
On Feb 3, 2015, at
git isn’t tracking folder renames when the case of the letters change, but it
will track it if the folder changes names. Is this intentional?
Here is an example:
08:51:26 ~/test $ git init
Initialized empty Git repository in /Users/kcoleman/test/.git/
08:51:29 ~/test (master #) $ mkdir main
Are you, by any chance, on MacOS? HFS+ by default is
case-insensitive-but-case-preserving, and Git on MacOS by default runs
with core.ignorecase = true as a result.
If you set that to false does it change the behavior?
Hope this helps,
Bryan Turner
On Tue, Feb 3, 2015 at 12:56 PM, Kevin Coleman
On Mon, Feb 02, 2015 at 11:52:21PM -0500, Kevin Coleman wrote:
Yes, I am on a Mac. I just tried that, but I don’t think that
completely fixed it. As you can see it tracks “foo/bar.md” and then
it tracks “Foo/bar.md”. It still tracks both “foo” and “Foo” even tho
only “Foo” exists in my dir
Sorry for sending x2. I got a bounce notification the first time.
Yes, I am on a Mac. I just tried that, but I don’t think that completely fixed
it. As you can see it tracks “foo/bar.md” and then it tracks “Foo/bar.md”. It
still tracks both “foo” and “Foo” even tho only “Foo” exists in
7 matches
Mail list logo