author | Junio C Hamano <gitster@pobox.com> | |
Wed, 18 May 2011 23:02:58 +0000 (16:02 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 19 May 2011 17:46:42 +0000 (10:46 -0700) | ||
commit | 2d370d2fbcf896912cc0739b806224f9a270bb5e | |
tree | a5454cafe8b7bcd8e4cd5dfed0b33b9bb6b751ed | tree | snapshot |
parent | c3ab1a8e4cb8a84967efcf45c5e6bee41b17f9f9 | commit | diff |
notes remove: --ignore-missing
Depending on the application, it is not necessarily an error for an object
to lack a note, especially if the only thing the caller wants to make sure
is that notes are cleared for an object. By passing this option from the
command line, the "git notes remove" command considers it a success if the
object did not have any note to begin with.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Depending on the application, it is not necessarily an error for an object
to lack a note, especially if the only thing the caller wants to make sure
is that notes are cleared for an object. By passing this option from the
command line, the "git notes remove" command considers it a success if the
object did not have any note to begin with.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-notes.txt | diff | blob | history | |
builtin/notes.c | diff | blob | history | |
t/t3301-notes.sh | diff | blob | history |