[
https://issues.apache.org/jira/browse/SOLR-14532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17125980#comment-17125980
]
Andras Salamon commented on SOLR-14532:
---------------------------------------
Here are my reproduction steps:
{noformat}
$ git clone [email protected]:apache/lucene-solr.git
$ cd lucene-solr
$ git status
# it shows that we have no new files which is OK
$ ./gradlew idea
git status
On branch master
Your branch is up to date with 'origin/master'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
lucene-solr.iml
nothing added to commit but untracked files present (use "git add" to
track){noformat}
So git shows this file as an untracked file. The other two files
(lucene-solr.ipr, lucene-solr.iws) are ignored so they don't listed as
untracked files.
> Add iml file to gitignore
> -------------------------
>
> Key: SOLR-14532
> URL: https://issues.apache.org/jira/browse/SOLR-14532
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Andras Salamon
> Priority: Trivial
> Attachments: SOLR-14532.patch
>
>
> If I execute {{gradlew idea}} in my {{lucene-solr-upstream}} directory, it
> will create three files in the root directory:
> {noformat}
> lucene-solr-upstream.iml
> lucene-solr-upstream.ipr
> lucene-solr-upstream.iws
> {noformat}
> Git will ignore the {{ipr}} and the {{iws}} file, but it lists the iml file
> as a new file. We should also ignore that one.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]