# jgit doesn't support "compare with" and "replace with"?

3 messages from 2008-12-19 to 2008-12-19. Participants: Martin_S, Shawn O. Pearce, Robin Rosenberg.
Thread: https://gitlist.dev/t/16796

## Martin_S, 2008-12-19 09:10

Subject: jgit doesn't support "compare with" and "replace with"?
Message-ID: <1229677848765-1677009.post@n2.nabble.com>
URL: https://gitlist.dev/e/1229677848765-1677009.post%40n2.nabble.com

```

Hi, I'm using eclipse 3.4 and jgit 0.4. The right click context menus don't
list "compare with" and "replace with". Am I doing something wrong?

Thanks in Advance, Martin
-- 
View this message in context: http://n2.nabble.com/jgit-doesn%27t-support-%22compare-with%22-and-%22replace-with%22--tp1677009p1677009.html
Sent from the git mailing list archive at Nabble.com.

```

## Shawn O. Pearce, 2008-12-19 15:20

Subject: Re: jgit doesn't support "compare with" and "replace with"?
Message-ID: <20081219152045.GR32487@spearce.org>
URL: https://gitlist.dev/e/20081219152045.GR32487%40spearce.org
In-Reply-To: <1229677848765-1677009.post@n2.nabble.com>

```
Martin_S <iksdrijf@yahoo.com> wrote:
> 
> Hi, I'm using eclipse 3.4 and jgit 0.4. The right click context menus don't
> list "compare with" and "replace with". Am I doing something wrong?

We haven't implemented them in EGit.  So its not surprising that
they aren't appearing.

-- 
Shawn.

```

## Robin Rosenberg, 2008-12-19 20:39

Subject: Re: jgit doesn't support "compare with" and "replace with"?
Message-ID: <200812192139.20597.robin.rosenberg.lists@dewire.com>
URL: https://gitlist.dev/e/200812192139.20597.robin.rosenberg.lists%40dewire.com
In-Reply-To: <20081219152045.GR32487@spearce.org>

```
fredag 19 december 2008 16:20:45 skrev Shawn O. Pearce:
> Martin_S <iksdrijf@yahoo.com> wrote:
> > 
> > Hi, I'm using eclipse 3.4 and jgit 0.4. The right click context menus don't
> > list "compare with" and "replace with". Am I doing something wrong?
> 
> We haven't implemented them in EGit.  So its not surprising that
> they aren't appearing.

Actually, we had it in v0.3 though it didn't always work. In particular it didn't work on
Windows... 

The history rewrited killed it, but re-adding it would not be to hard, It's mostly about passing two explicit
versions to compare, which is already done in 

The old version disappeared in 07f04ae5b1771069667028d225196daff29402a0, checkout out and rebuild
if you are really desperate. Reverting it is an option, but that is not trivial either so going forward and 
reimplementing it (correctly this time) is a more appealing approach. Dependig on your needs, i.e. if
you only don't need clone/fetch/push you could go back to the commit mentioned above. The closest
tagged version is v0.3.1. As a bonus it draws the graph correctly, though it is not optimal.

-- robin

```
