Re: Xcode and Git - renaming classes by changing case.
Re: Xcode and Git - renaming classes by changing case.
- Subject: Re: Xcode and Git - renaming classes by changing case.
- From: Marco S Hyman <email@hidden>
- Date: Fri, 10 Jul 2015 17:26:20 -0700
> NOOOOOOO.
>
> That will only work until you restart Xcode. We found that out the hard way sharing our repo across 3 continents. Everyone had Xcode fail with "file not found in index" when we each relaunched the project.
??? I think I’m missing something. I did all of the following in Xcode.
1) create new project with git repository named CaseTest
2) create new file “emptyFile.swift”. Commit all repository changes.
3) Change the name of emptyFile.swift to EmptyFile.swift. Commit changes.
Using Xcode 7 beta 3 it just worked. Xcode sees the name as EmptyFile.swift.
Finder sees EmptyFile.swift.
The git config looks like this
[core]
bare = false
repositoryformatversion = 0
filemode = true
ignorecase = true
precomposeunicode = true
logallrefupdates = true
So either I’m misunderstanding your issue (quite possible) or it’s been fixed
in Xcode 7.
Marc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden