diff options
author | Johan Herland <johan@herland.net> | 2010-02-13 22:28:34 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-13 19:36:16 -0800 |
commit | aaec9bcf6d85a084725e8386bf314a6ef6842468 (patch) | |
tree | ac81dd7ed75b64aed4e51f3739e343be05116249 /t/t3306-notes-prune.sh | |
parent | 2347fae50b2f75c6c0b362bd9ef24249419ed2b1 (diff) | |
download | git-aaec9bcf6d85a084725e8386bf314a6ef6842468.tar.gz |
builtin-notes: Deprecate the -m/-F options for "git notes edit"
The semantics for "git notes edit -m/-F" overlap with those for
"git notes add -f", and the behaviour (i.e. overwriting existing
notes with the given message/file) is more intuitively captured
by (and better documented with) "git notes add -f".
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/t3306-notes-prune.sh')
-rwxr-xr-x | t/t3306-notes-prune.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t3306-notes-prune.sh b/t/t3306-notes-prune.sh index b0adc7e5bd..a0ed0353e6 100755 --- a/t/t3306-notes-prune.sh +++ b/t/t3306-notes-prune.sh @@ -10,17 +10,17 @@ test_expect_success 'setup: create a few commits with notes' ' git add file1 && test_tick && git commit -m 1st && - git notes edit -m "Note #1" && + git notes add -m "Note #1" && : > file2 && git add file2 && test_tick && git commit -m 2nd && - git notes edit -m "Note #2" && + git notes add -m "Note #2" && : > file3 && git add file3 && test_tick && git commit -m 3rd && - git notes edit -m "Note #3" + git notes add -m "Note #3" ' cat > expect <<END_OF_LOG |