diff options
| author | Johan Herland <johan@herland.net> | 2010-02-13 22:28:24 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2010-02-13 19:36:14 -0800 |
| commit | a0b4dfa9b35a2ebac578ea5547b041bb78557238 (patch) | |
| tree | 13c126a0b799f0251e9669dd25afa31b374e01aa /notes.c | |
| parent | 851c2b3791f24e319c23331887d4b8150ca4d9ba (diff) | |
| download | git-a0b4dfa9b35a2ebac578ea5547b041bb78557238.tar.gz | |
Teach builtin-notes to remove empty notes
When the result of editing a note is an empty string, the associated note
entry should be deleted from the notes tree.
This allows deleting notes by invoking either "git notes -m ''" or
"git notes -F /dev/null".
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes.c')
0 files changed, 0 insertions, 0 deletions
