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 /attr.h | |
parent | Teach notes code to properly preserve non-notes in the notes tree (diff) | |
download | tgif-a0b4dfa9b35a2ebac578ea5547b041bb78557238.tar.xz |
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 'attr.h')
0 files changed, 0 insertions, 0 deletions