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

[Outreachy][RFC]: teach the '-e' option for git notes sub command

From
ASAbraham Samuel <sammymore50@gmail.com>
Date
Oct 17, 2024, 09:43 UTC
Message-ID
<CAO1n886ZRRD6m_GQsYz-AGwpbkDB4S+0+hRx-9mmN=6iJ1o7Mg@mail.gmail.com>
Hello,

I was searching through the list for a #leftoverbits project that I could do. I then came across this conversation

https://public-inbox.org/git/xmqqed7bhobk.fsf@gitster.g/.

The suggestion was made to make messages seeded with -m/-F to the "git notes add" subcommand be editable when the "-e" option is passed to it. This allows modifying the message by opening the default editor to enable the message to be edited before adding the note.

I have checked the current version of git and there is no "-e" option implemented. I am also studying similar implementations for git commit and git tag to help me understand the implementation. However, I would like to know if I am permitted to go ahead and if yes, I would appreciate pointers to other resources to aid me in implementing it.

Thanks Abraham.

Next: Patrick Steinhardt
Message 1 of 3 in “[Outreachy][RFC]: teach the '-e' option for git notes sub command”
  1. Abraham SamuelOct 17, 2024
  2. Patrick SteinhardtOct 17, 2024
  3. Abraham SamuelOct 19, 2024

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.