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

Re: [RFC/PATCH] mergetool: clarify local/remote terminology

From
Jeff King <peff@peff.net>
Date
Feb 28, 2008, 08:43 UTC
Message-ID
<20080228084328.GA18350@coredump.intra.peff.net>
In-Reply-To
<20080225184648.GC15131@sigill.intra.peff.net>
On Mon, Feb 25, 2008 at 01:46:48PM -0500, Jeff King wrote:
Show 7 quoted lines
> > On Thu, Feb 21, 2008 at 12:12 AM, Jay Soffian <jaysoffian@gmail.com> wrote:
> > > Always calling the thing on the left-side of a merge "local" and on the
> > >  right side "remote" isn't correct. You could be rebasing, in which case
> > >  the left side is the new base/upstream and the right side is the saved
> > >  commits which are being re-applied. So,
> 
> I'll try out your patch and comment next time I use it.

I finally got a chance to use this today (hey, I don't get a lot of conflicts!).

I like it; I think it made it a lot more obvious which side was which during the rebase. I checked with cherry-pick, as well; it more or less makes sense, except that the cherry-picked commit is called "upstream." Which sort of makes sense, but it would be nice to call it something more obvious. Unfortunately I'm not sure that there is a good way to determine we are in a failed cherry-pick (probably a failed 'revert' is in a similar situation).

So like I said before, I think the eventual "right" thing is to have a more verbose status file. But in the meantime, I think this patch is sensible.

-Peff
Previous: Jeff KingNext: Junio C Hamano
Message 8 of 10 in “mergetool: clarify local/remote terminology”
  1. mergetool: clarify local/remote terminologyJay Soffian, Feb 21, 2008
  2. Jay SoffianFeb 25, 2008
  3. Jeff KingFeb 25, 2008
  4. Jay SoffianFeb 25, 2008
  5. Jeff KingFeb 25, 2008
  6. Jay SoffianFeb 25, 2008
  7. Jeff KingFeb 25, 2008
  8. Jeff KingFeb 28, 2008
  9. Junio C HamanoFeb 29, 2008
  10. Jeff KingMar 1, 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.