Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] EGit PDE - help with EGit/JGit

On Thu, Oct 28, 2010 at 12:57 PM, Paul Webster
<pwebster@xxxxxxxxxxxxxxxxxxx> wrote:
> Chris:
>> walk.markStart(walk.lookupCommit(start));
>
> What should "start" be here?  Just the latest commit in the repo?

  ObjectId start = repo.resolve(Constants.HEAD);

That will lookup the latest commit, and return its SHA-1.

-- 
Shawn.


Back to the top