Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] git tag --contains <commit>

On Tue, Mar 1, 2011 at 8:56 PM, Shawn Pearce <spearce@xxxxxxxxxxx> wrote:
> You committed the cardinal sin of passing one RevWalk's RevCommit to a
> different RevWalk instance. This lead the merge base code to have two
> representations of the same commit, which meant the flags weren't set
> correctly and there was never a merge base found.
>
> I've posted a fixed test to https://gist.github.com/850385

I just wanted to say thanks Shawn, this unblocked some work in the
EGit PDE releng work.

I'm wondering if we should add a ContainsTagCommand (or some other
clever name) to include this functionality.

-- 
Cheers,

Chris Aniszczyk
http://aniszczyk.org
+1 860 839 2465


Back to the top