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

[RFC] notes.<REF>.rewriteMode configuration option

From
BRBarret Rennie <barret@beanbaginc.com>
Date
Jul 4, 2016, 23:21 UTC
Message-ID
<2A2C7F26-A929-45F0-83FE-E18CFAA35E7A@beanbaginc.com>
Hi all,

The project I work on currently heavily uses git. We would like to add some tools based around detecting how branches change over time for code review, so that users can compare commits as they change. We'd like to do this via adding metadata in git notes, so that we can detect when commits are ammended or squashed. While digging around in the `git notes` help, I noticed there is support for `notes.<ref>.mergeStrategy` but not `notes.<ref>.rewriteMode` configuration options. I was wondering if you would be interested in a patch that adds support for a `notes.<ref>.rewriteMode` configuration option that would take precedence for doing note rewrites for the given ref (like how `notes.<ref>.mergeStrategy` takes precedence for merges).

Regards, Barret Rennie

Message 1 of 1 in “[RFC] notes.<REF>.rewriteMode configuration option”
  1. Barret RennieJul 4, 2016

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.