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

Re: Git Notes - Track rebase/etc + reverse-lookup for bugs ideas

From
Johan Herland <johan@herland.net>
Date
Nov 10, 2008, 20:01 UTC
Message-ID
<200811102101.15285.johan@herland.net>
In-Reply-To
<20081110195120.GA3688@sigill.intra.peff.net>
On Monday 10 November 2008, Jeff King wrote:
Show 15 quoted lines
> On Mon, Nov 10, 2008 at 08:51:50PM +0100, Johannes Schindelin wrote:
> > > Not that I know of, but then again, I'm not sure exactly what you
> > > mean by "track rebases".
> >
> > I guess he means that you could have something like this
> >
> > 	rebased from <SHA-1>
> >
> > in the notes for any given commit, so that _if_ you have the commit,
> > e.g. gitk could show that connection (maybe dashed in the graphical
> > history display, and as a "Rebased from:" link).
>
> You don't really need "notes" for that, though, since you can put that
> information into the commit message (or headers) if you choose. I guess
> it has the advantage of not polluting the commit for others.

Does it make sense to teach "git rebase" the -x option from "git cherry-pick"? As with "git cherry-pick -x" it only makes sense to use it if your rebasing from a public branch.

Have fun!
...Johan
-- 
Johan Herland, <johan@herland.net>
www.herland.net
Previous: Jeff KingNext: Miklos Vajna
Message 5 of 10 in “Git Notes - Track rebase/etc + reverse-lookup for bugs ideas”
  1. Thomas HarningNov 10, 2008
  2. Jeff KingNov 10, 2008
  3. Johannes SchindelinNov 10, 2008
  4. Jeff KingNov 10, 2008
  5. Johan HerlandNov 10, 2008
  6. Miklos VajnaNov 10, 2008
  7. Johan HerlandNov 10, 2008
  8. Johannes SchindelinNov 10, 2008
  9. Thomas HarningNov 10, 2008
  10. Jeff KingNov 11, 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.