Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] Obtaining last modification time

måndagen den 15 mars 2010 15.19.21 skrev  Thomas Hallgren:
> Hi,
> I need a piece of code that can derive the revision and lastModified
> timestamp from the git repository given an IProject. It is unclear to me
> how this can be done using egit. A simple code snippet would be very
> helpful.

Look at the EGit history provider. It uses a filtered TreeWalk to traverse the
history and returns a simplified history where a single file is touched by
a commit. This is not the lastModified , but as close as you can get.

-- robin


Back to the top