summaryrefslogtreecommitdiff
path: root/t/t4101
diff options
context:
space:
mode:
authorLibravatar Johan Herland <johan@herland.net>2010-02-13 22:28:33 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-02-13 19:36:16 -0800
commit2347fae50b2f75c6c0b362bd9ef24249419ed2b1 (patch)
tree13975d09a3a5bbbe4b95d21ff8e0a54afe83bcdc /t/t4101
parentbuiltin-notes: Add "add" subcommand for adding notes to objects (diff)
downloadtgif-2347fae50b2f75c6c0b362bd9ef24249419ed2b1.tar.xz
builtin-notes: Add "append" subcommand for appending to note objects
"git notes append" is equivalent to "git notes edit" except that instead of editing existing notes contents, you can only append to it. This is useful for quickly adding annotations like e.g.: git notes append -m "Acked-by: A U Thor <author@example.com>" "git notes append" takes the same -m/-F options as "git notes add". If there is no existing note to append to, "git notes append" is identical to "git notes add" (i.e. it adds a new note). The patch includes tests verifying correct behaviour of the new subcommand. Suggested-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Johan Herland <johan@herland.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4101')
0 files changed, 0 insertions, 0 deletions