git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: jgit doesn't support "compare with" and "replace with"?

From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Date
Dec 19, 2008, 20:39 UTC
Message-ID
<200812192139.20597.robin.rosenberg.lists@dewire.com>
In-Reply-To
<20081219152045.GR32487@spearce.org>
fredag 19 december 2008 16:20:45 skrev Shawn O. Pearce:
Show 7 quoted lines
> 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
Previous: Shawn O. Pearce
Message 3 of 3 in “jgit doesn't support "compare with" and "replace with"?”
  1. Martin_SDec 19, 2008
  2. Shawn O. PearceDec 19, 2008
  3. Robin RosenbergDec 19, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.