Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

"profile" doesn't belong in Objective-C.gitignore #956

Closed
wants to merge 1 commit into from

3 participants

Jim Roepcke Carl Suster Trevor Sheridan
Jim Roepcke

I've never seen a valid argument for keeping this line in this file, yet I've seen dozens of people complain about it. It's bitten me and lots of others in the past.

Carl Suster
Collaborator

Thanks for this! I'm not familiar with Objective C, and I can't easily find anything about this file by searching, so would you be able to explain why people have suggested it be ignored and your case against it?

Carl Suster arcresu referenced this pull request from a commit
MacPro: Fabien Sanglard Add Xcode support. 5bd4330
Trevor Sheridan

Reading some blog posts it seems like this was a mystery to some people all the way back in 2009. I have no idea what the historical reasoning behind this is. One theory in reading most people's .gitignores, is they include a comment above the "profile" line saying something like "OS X junk", and it's typically coupled with the .DS_Store. So this leads me to believe that a profile (not .profile) was something generated by OS X. Either that or maybe convention where the output of profiles(1) was a file called profile? I'm shooting in the dark here which is probably reason enough to just remove this line until someone says otherwise.

Carl Suster
Collaborator

Yep, sounds good. Thanks for doing the research. I'll fix that up

Carl Suster arcresu closed this in d598b29
Carl Suster arcresu referenced this pull request from a commit
Carl Suster arcresu Remove profile from Obj-C to match #956 336dd39
Daniel Rothmaler drothmaler referenced this pull request from a commit in drothmaler/gitignore
Jim Roepcke JimRoepcke Remove profile rule from Xcode template. Fixes #956 09c3f0b
Daniel Rothmaler drothmaler referenced this pull request from a commit in drothmaler/gitignore
Carl Suster arcresu Remove profile from Obj-C to match #956 262f334
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 19, 2014
  1. Jim Roepcke
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 1 deletion.
  1. +0 −1  Objective-C.gitignore
1  Objective-C.gitignore
View
@@ -13,7 +13,6 @@ build/
!default.perspectivev3
xcuserdata
*.xccheckout
-profile
*.moved-aside
DerivedData
*.hmap
Something went wrong with that request. Please try again.