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

Re: Idea: "git format-patch" should get more information out of git

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Aug 30, 2011, 15:41 UTC
Message-ID
<4E5D048D.4010902@drmicha.warpmail.net>
In-Reply-To
<20110830152217.GA13022@sigill.intra.peff.net>
Jeff King venit, vidit, dixit 30.08.2011 17:22:
> On Tue, Aug 30, 2011 at 02:21:13PM +0200, Michael J Gruber wrote:
...
Show 7 quoted lines
>> Anyways, notes survive rebase etc.
> 
> You still have to manually configure:
> 
>   git config notes.rewriteRef refs/notes/commits
> 
> Perhaps that is something that should be changed.
Right, I've done that quite a while ago and forgot.
Show 12 quoted lines
>> and at format-patch time you can decide whether you want to include
>> them or not (with my patch).
> 
> Yeah. Don't get me wrong, I think putting "---" notes into git-notes is
> way more flexible. It's just that it's also more complex, and
> unnecessarily so for many use cases.
> 
> We have some patches to hide that complexity, but I was at one point
> wondering if all of the complexity was worthwhile. But as I mentioned
> above, if you want to build anything more complex than a pure-patch
> workflow, the simple solution breaks down. So it probably is worth
> pursuing.

Reminds me of the ref namespace restructuring which could help sharing notes... Oh, lots to do before git 3.0!

Michael
Previous: Jeff KingNext: Johan Herland
Message 9 of 12 in “Idea: "git format-patch" should get more information out of git”
  1. Michael HaggertyAug 27, 2011
  2. Junio C HamanoAug 27, 2011
  3. Michael J GruberAug 27, 2011
  4. Michael HaggertyAug 28, 2011
  5. Junio C HamanoAug 28, 2011
  6. Jeff KingAug 29, 2011
  7. Michael J GruberAug 30, 2011
  8. Jeff KingAug 30, 2011
  9. Michael J GruberAug 30, 2011
  10. Johan HerlandAug 30, 2011
  11. Michael HaggertySep 1, 2011
  12. Michael J GruberSep 1, 2011

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.