You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Erick Erickson (Jira)" <ji...@apache.org> on 2020/08/11 15:02:00 UTC

[jira] [Updated] (SOLR-14727) Add gradle files to the 8x .gitignore file.

     [ https://issues.apache.org/jira/browse/SOLR-14727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erick Erickson updated SOLR-14727:
----------------------------------
    Description: 
This is a little different than I thought. Apparently it's an interaction with IntelliJ. One sequence is something like:
 * import the Gradle build in IntelliJ on master
 * switch to branch_8x on the command line
 * switch back to master from the command line and you can't because "untracked changes would be overwritten by..."

there may be other ways to get into this bind.

At any rate, I don't see a problem with adding

gradle.properties
gradle/
gradle/
gradlew
gradlew.bat

to .gitignore on branch_8x only.

  was:
It's annoying to switch from master to 8x after building with Gradle and then be unable to switch back because Git sees files the gradle directory and thinks you have added files.

This will be for 8x only....


> Add gradle files to the 8x .gitignore file.
> -------------------------------------------
>
>                 Key: SOLR-14727
>                 URL: https://issues.apache.org/jira/browse/SOLR-14727
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Major
>
> This is a little different than I thought. Apparently it's an interaction with IntelliJ. One sequence is something like:
>  * import the Gradle build in IntelliJ on master
>  * switch to branch_8x on the command line
>  * switch back to master from the command line and you can't because "untracked changes would be overwritten by..."
> there may be other ways to get into this bind.
> At any rate, I don't see a problem with adding
> gradle.properties
> gradle/
> gradle/
> gradlew
> gradlew.bat
> to .gitignore on branch_8x only.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org