summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorAbraham Samuel Adekunle <abrahamadekunle50@gmail.com>2024-10-21 18:12:20 +0000
committerTaylor Blau <me@ttaylorr.com>2024-10-21 15:52:48 -0400
commitdab0b9e176d64f7687029b176d96eddfbf74db64 (patch)
treeacf1be4f525845907cc2d842c476af4b5267b53a /commit.c
parent34b6ce9b30747131b6e781ff718a45328aa887d0 (diff)
notes: teach the -e option to edit messages in editor
Notes can be added to a commit using: - "-m" to provide a message on the command line. - -C to copy a note from a blob object. - -F to read the note from a file. When these options are used, Git does not open an editor, it simply takes the content provided via these options and attaches it to the commit as a note. Improve flexibility to fine-tune the note before finalizing it by allowing the messages to be prefilled in the editor and edited after the messages have been provided through -[mF]. Signed-off-by: Abraham Samuel Adekunle <abrahamadekunle50@gmail.com> Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions