[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] offtopic: integrating jgit into tycho build timestamp generation logic

Is this for committed files only? If you don't need to track uncommitted files then simply look at the time stamp of the commit at the head of the tree instead of walking everything. 

Sent from my iPhone 4S

On 1 Jun 2012, at 04:08, Igor Fedorenko <ifedorenko@xxxxxxxxxxxx> wrote:

> I apoligise for an offtopic post, but I wonder if somebody with jgit
> experience can review/comment on my (most likely clumsy and broken) take
> on integrating jgit into tycho build timestamp generation logic [1].
> There is rather lengthy discussion of what this code is expected to do
> in CBI bugzilla [2], but in short, the goal is to retrieve timestampt of
> the most recent commit that leads to the current HEAD and touches one or
> more files under project basedir. Thank you in advance.
> [1] https://git.eclipse.org/r/#/c/6134/
> [2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=367581
> --
> Regards,
> Igor
> _______________________________________________
> jgit-dev mailing list
> jgit-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jgit-dev