[Outreachy][RFC]: teach the '-e' option for git notes sub command
- From
- Abraham 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.