[
https://issues.apache.org/jira/browse/ZOOKEEPER-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15471138#comment-15471138
]
Chris Nauroth commented on ZOOKEEPER-2557:
------------------------------------------
[~eribeiro], thank you for doing this. As an emacs user, thanks very much for
adding "*~"! :-)
While we're editing this, how about also adding "*.orig" and "*.rej"? These
are the files left behind by the patch command when it fails to apply the patch
file cleanly.
bq. My only concern here is if .class, .ear, .war and .jar files should be
included or not in the gitignore file.
I'd prefer to leave those out. We do have a couple of jars checked in:
{code}
> find . -name '*.jar'
./src/contrib/zooinspector/lib/jtoaster-1.0.4.jar
./src/java/lib/ivy-2.4.0.jar
{code}
I'd expect built binary artifacts to be fully covered by one of the other
rules, like "build/".
> Update gitignore to account for other file extensions
> -----------------------------------------------------
>
> Key: ZOOKEEPER-2557
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2557
> Project: ZooKeeper
> Issue Type: Improvement
> Affects Versions: 3.4.8
> Reporter: Edward Ribeiro
> Assignee: Edward Ribeiro
> Priority: Trivial
> Labels: easyfix
> Attachments: ZOOKEEPER-2557.patch
>
>
> We are in the process of moving from subversion to git, but I have seen that
> the current ZK's {{gitignore}} doesn't account for many spurious types of
> files (e.g., *.swp, *.tmp) as well as other files created by IDEs (Eclipse,
> Intellij and NetBeans), among other file extensions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)