You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Paul Elschot (JIRA)" <ji...@apache.org> on 2016/01/02 23:31:39 UTC
[jira] [Commented] (LUCENE-6938) Convert build to work with Git
rather than SVN.
[ https://issues.apache.org/jira/browse/LUCENE-6938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15076696#comment-15076696 ]
Paul Elschot commented on LUCENE-6938:
--------------------------------------
bq. there must be some way to just get the checkout sha once
This will work on the current branch:
{code}git log --format="%H" -n 1{code}
But also this, for example for the trunk branch:
{code}cat .git/refs/heads/trunk{code}
This is why branching in git it so cheap, a branch is no more than a file with a sha1.
bq. the command line of Git is the most confusing an user-unfriendly thing
Indeed, and this makes the learning curve steeper that it would need to be.
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org