From: Shawn O. Pearce Date: Wed, 29 Oct 2008 23:53:17 GMT Subject: Re: jgit as a jira plugin Message-ID: <20081029235317.GC31926@spearce.org> In-Reply-To: "J. Longman" wrote: > Basically I stole the pgm.Fetch code: > > Transport tn = Transport.open(repository, "origin"); > final FetchResult r; > List toget = new ArrayList(); > try { > r = tn.fetch(new TextProgressMonitor(), toget); > } finally { > tn.close(); > } > > Can I assume that this enough to update the database? Yes > After this (and not shown) is some > logging code taken from Fetch, which results in the following: > > From /Users/longman/workspace2/work/../masterRepo/ > 131dcf5..078d43f master -> origin/master > > but there doesn't appear to be any specific mention of the incoming > changes. Well, the new changes are what "git log 131dcf5..078d43f" outputs. -- Shawn.