[ 
https://issues.apache.org/jira/browse/LUCENE-6938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15075241#comment-15075241
 ] 

Upayavira commented on LUCENE-6938:
-----------------------------------

Presumably the reason for building the tarball from an export is to avoid 
including uncommitted changes. Could we achieve the same end by just confirming 
that the git checkout is clean and not proceeding if there are any changes? 
Like so:

{code}
if [ -z "$(git status --porcelain)" ]; then 
  # Working directory clean
else 
  # Uncommitted changes
fi
{code}

(courtesy of 
http://unix.stackexchange.com/questions/155046/determine-if-git-working-directory-is-clean-from-a-script)

> Convert build to work with Git rather than SVN.
> -----------------------------------------------
>
>                 Key: LUCENE-6938
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6938
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>         Attachments: LUCENE-6938.patch
>
>
> We assume an SVN checkout in parts of our build and will need to move to 
> assuming a Git checkout.
> Patches against https://github.com/dweiss/lucene-solr-svn2git from 
> LUCENE-6933.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to