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

Re: What's in git.git

From
RARyan Anderson <ryan@michonline.com>
Date
Feb 10, 2006, 00:40 UTC
Message-ID
<20060210004040.GB2866@mythryan2.michonline.com>
In-Reply-To
<B8E391BBE9FE384DAA4C5C003888BE6F05AA1FB3@scsmsx401.amr.corp.intel.com>
On Thu, Feb 09, 2006 at 03:49:16PM -0800, Luck, Tony wrote:
Show 12 quoted lines
> Looks very close to what I want.
> 
> > git checkout topic
> > git format-patch --stdout origin > topic-diff
> 
>  topic-diff contains each commit as a separate message
> 
> > $VISUAL topic-diff
> > # Fix comments
> 
>  so this needs some skill & care to rearrange the pieces
>  and end up with legal input to git-am

Doh, right, I was thinking "git apply" actually. (Apply the whole thing as single diff - the comments from each commit in the middle should get ignored.)

Note that I don't believe there is any need to combine the hunks, just stick them there in order and it *should* do the right thing.

Show 5 quoted lines
> Perhaps I'd like to have:
> 
>  git diff SHA-where-I-branched..HEAD
> 
> but I don't see the way to compute the SHA-where-I-branched
git-merge-base topic master ?
-- 
Ryan Anderson
  sometimes Pug Majere
Previous: Luck, TonyNext: Junio C Hamano
Message 5 of 6 in “RE: What's in git.git”
  1. Luck, TonyFeb 9, 2006
  2. Junio C HamanoFeb 10, 2006
  3. Junio C HamanoFeb 10, 2006
  4. Luck, TonyFeb 14, 2006
  5. Ryan AndersonFeb 10, 2006
  6. Junio C HamanoFeb 10, 2006

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.