GitHub user stevenschlansker opened a pull request:
https://github.com/apache/kafka/pull/2549
Add subtree .gitignore files themselves to gitignore
This seems like a silly rule, but for example the Eclipse Gradle integration
will 'helpfully' generate .gitignore files in every project that then
show as dirty. For example, if you take a vanilla Eclipse install and
import
Kafka, this is the status you get:
```
?? clients/.gitignore
?? connect/api/.gitignore
?? connect/file/.gitignore
?? connect/json/.gitignore
?? connect/runtime/.gitignore
?? connect/transforms/.gitignore
?? examples/bin/.gitignore
?? log4j-appender/.gitignore
?? streams/.gitignore
?? streams/examples/.gitignore
?? tools/.gitignore
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/stevenschlansker/kafka ignore-sub-gitignore
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/2549.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2549
commit 015f384d92d59553b384325107f66e32ae8189bc
Author: Steven Schlansker <sschlans...@opentable.com>
Date: 2017-02-14T22:03:56Z
Add subtree .gitignore files themselves to gitignore
This seems like a silly rule, but for example the Eclipse Gradle integration
will 'helpfully' generate .gitignore files in every project that then
show as dirty. For example, if you take a vanilla Eclipse install and
import
Kafka, this is the status you get:
```
?? clients/.gitignore
?? connect/api/.gitignore
?? connect/file/.gitignore
?? connect/json/.gitignore
?? connect/runtime/.gitignore
?? connect/transforms/.gitignore
?? examples/bin/.gitignore
?? log4j-appender/.gitignore
?? streams/.gitignore
?? streams/examples/.gitignore
?? tools/.gitignore
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---