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: Gleb Dolgich <email@hidden>
- Date: Sat, 11 Jul 2015 01:19:08 +0100
You want to rename FileName.swift to filename.swift 1) Rename FileName.swift to filename1.swift and commit 2) Rename filename1.swift to filename.swift and commit
Cheers, Gleb
If anyone has other suggestions on how to change the case of a file in git without deleting or adding from the repository. When I try to do a git rename with just a case change, git ends up eliding away the change into a no-op.
On Jul 8, 2015, at 6:32 PM, Joar Wingfors < email@hidden> wrote:
On 08 Jul 2015, at 09:23, Alex Zavatone <email@hidden> wrote:
On Jul 8, 2015, at 11:32 AM, Joar Wingfors wrote:
File a bug report and then nuke your index to force it to be rebuilt.
Joar
Thanks. I already nuked the index, deleted my derived files, restarted Xcode, etc, etc… Didn't make a difference. Had to remove the file edit the class names manually, re-add them back to the project and refactor through find and replace occurrences of imports of the header file and references to the class name.
Somehow I got the class references in the storyboard working. No idea how that worked.
Still sounds like good material for a bug report. Joar
|
_______________________________________________
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