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

Re: [PATCH] Stop git-rev-list at sha1 match

From
TGThomas Gleixner <tglx@linutronix.de>
Date
May 11, 2005, 22:49 UTC
Message-ID
<1115851742.22180.154.camel@tglx>
In-Reply-To
<20050511221719.GH22686@pasky.ji.cz>
On Thu, 2005-05-12 at 00:17 +0200, Petr Baudis wrote:
Show 6 quoted lines
> But the very fact that you want this makes me *quite* nervous - I think
> this is bad thing to do. The problem is, for something like
> it won't show the full merge. 
> 
> I think you mean it to show everything going into the tree since foo -
> that would include the whole branch you cut off now.
>From a SCM POV it does not matter.
Rn   o
     | \
Rn-1 o  |
     |  o Mn
     |  o Mn-1
Rn-2 o /
Rn-3 o

If you are in Repository R, then tracking Rn to Rn-123 gives you a linear result depending on the stop point you chose. Rn ---- Stop = Rn-1 Rn-1 ---- Stop = Rn-2 Rn-2 ---- Stop = Rn-3

The diff between Rn and Rn-1 contains always the changes merged from M
> Thomas, what are you going to use it for?
Displaing the the changes between commit shaX and shaY :)
tglx
Previous: Petr BaudisNext: Petr Baudis
Message 6 of 13 in “Stop git-rev-list at sha1 match”
  1. Stop git-rev-list at sha1 matchThomas Gleixner, May 11, 2005
  2. Junio C HamanoMay 11, 2005
  3. Thomas GleixnerMay 11, 2005
  4. Junio C HamanoMay 11, 2005
  5. Petr BaudisMay 11, 2005
  6. Thomas GleixnerMay 11, 2005
  7. Petr BaudisMay 11, 2005
  8. Thomas GleixnerMay 11, 2005
  9. Petr BaudisMay 11, 2005
  10. Thomas GleixnerMay 12, 2005
  11. Petr BaudisMay 13, 2005
  12. Junio C HamanoMay 12, 2005
  13. Junio C HamanoMay 12, 2005

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.