Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
wants to merge 1 commit into from

3 participants

@JimRoepcke

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.

@arcresu
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?

@arcresu arcresu referenced this pull request from a commit
MacPro: Fabien Sanglard Add Xcode support. 5bd4330
@trevorsheridan

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.

@arcresu
Collaborator

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

@arcresu arcresu closed this in d598b29
@arcresu arcresu referenced this pull request from a commit
@arcresu arcresu Remove profile from Obj-C to match #956 336dd39
@drothmaler drothmaler referenced this pull request from a commit in drothmaler/gitignore
@JimRoepcke JimRoepcke Remove profile rule from Xcode template. Fixes #956 09c3f0b
@drothmaler drothmaler referenced this pull request from a commit in drothmaler/gitignore
@arcresu 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. @JimRoepcke
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 1 deletion.
  1. +0 −1  Objective-C.gitignore
View
1  Objective-C.gitignore
@@ -13,7 +13,6 @@ build/
!default.perspectivev3
xcuserdata
*.xccheckout
-profile
*.moved-aside
DerivedData
*.hmap
Something went wrong with that request. Please try again.