Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove weird OS X specific .gitignore rule which behaves very unexpectedly #183

Merged
merged 1 commit into from
Sep 1, 2011
Merged

Conversation

x3ro
Copy link
Contributor

@x3ro x3ro commented Jul 27, 2011

The .gitignore rule "Icon?" will also match directories such as
"icons/", at least on a case-insensitive file-system (this happened to
me on OS X 10.7). I only noticed this several days later because a
developer was complaining about missing icons in his repository. I don't
really know what type of files this rule is supposed to match, but I
guess the described behavior is not expected.

The .gitignore rule "Icon?" will also match directories such as
"icons/", at least on a case-insensitive file-system (this happened to
me on OS X 10.7). I only noticed this several days later because a
developer was complaining about missing icons in his repository. I don't
really know what type of files this rule is supposed to match, but I
guess the described behavior is not expected.
defunkt added a commit that referenced this pull request Sep 1, 2011
Remove weird OS X specific .gitignore rule which behaves very unexpectedly
@defunkt defunkt merged commit 74b5ce5 into github:master Sep 1, 2011
@jamesbebbington
Copy link

This blog post on the matter may be of interest: Git Tip: Ignoring Icon\r in .gitignore.

quiaro pushed a commit to quiaro/studio3 that referenced this pull request Nov 1, 2013
This rule was making any folders with the name of 'icons' to be
ignored. Removed as per: github/gitignore#183
@mhulse mhulse mentioned this pull request Dec 2, 2013
drothmaler pushed a commit to drothmaler/gitignore that referenced this pull request May 27, 2014
Remove weird OS X specific .gitignore rule which behaves very unexpectedly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants