• 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: 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


  • Follow-Ups:
    • Re: Xcode and Git - renaming classes by changing case.
      • From: Alex Zavatone <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>)
 >Re: Xcode and Git - renaming classes by changing case. (From: Wayne Johnson <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: Marco S Hyman <email@hidden>)
 >Re: Xcode and Git - renaming classes by changing case. (From: Alex Zavatone <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