diff options
author | Johan Herland <johan@herland.net> | 2010-02-13 22:28:33 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-13 19:36:16 -0800 |
commit | 2347fae50b2f75c6c0b362bd9ef24249419ed2b1 (patch) | |
tree | 13975d09a3a5bbbe4b95d21ff8e0a54afe83bcdc /t/t4101/diff.3-0 | |
parent | builtin-notes: Add "add" subcommand for adding notes to objects (diff) | |
download | tgif-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/diff.3-0')
0 files changed, 0 insertions, 0 deletions