• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode and Git - renaming classes by changing case.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

On 10 Jul 2015, at 16:57, Doug Hill <email@hidden> wrote:

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

  • Follow-Ups:
    • Re: Xcode and Git - renaming classes by changing case.
      • From: Doug Hill <email@hidden>
References: 
 >Xcode and Git - renaming classes by changing case. (From: Alex Zavatone <email@hidden>)
 >Re: Xcode and Git - renaming classes by changing case. (From: Joar Wingfors <email@hidden>)
 >Re: Xcode and Git - renaming classes by changing case. (From: Alex Zavatone <email@hidden>)
 >Re: Xcode and Git - renaming classes by changing case. (From: Joar Wingfors <email@hidden>)
 >Re: Xcode and Git - renaming classes by changing case. (From: Doug Hill <email@hidden>)

  • Prev by Date: Re: Xcode and Git - renaming classes by changing case.
  • Next by Date: Re: Xcode and Git - renaming classes by changing case.
  • Previous by thread: Re: Xcode and Git - renaming classes by changing case.
  • Next by thread: Re: Xcode and Git - renaming classes by changing case.
  • Index(es):
    • Date
    • Thread