[PATCHv4 0/9] Handling empty notes
From: Johan Herland <hidden>
Date: 2016-06-15 23:02:53
Changes v3 -> v4:
- Incorporate more feedback from Junio:
- Patch #1: s/git config --unset/test_unconfig/
- Add patches #3 - #6 to refactor add()/append_edit()/create_note()
for supporting the direction suggested by Junio
- Revamp the last patch to more fully modernize t3301
Have fun! :)
...Johan
Johan Herland (9):
builtin/notes: Fix premature failure when trying to add the empty blob
t3301: Verify that 'git notes' removes empty notes by default
builtin/notes: Improve naming
builtin/notes: Refactor note file path into struct note_data
builtin/notes: Simplify early exit code in add()
builtin/notes: Split create_note() to clarify add vs. remove logic
builtin/notes: Add --allow-empty, to allow storing empty notes
notes: Empty notes should be shown by 'git log'
t3301: Modernize
Documentation/git-notes.txt | 12 +-
builtin/notes.c | 235 +++++----
notes.c | 3 +-
t/t3301-notes.sh | 1189 ++++++++++++++++++++-----------------------
4 files changed, 698 insertions(+), 741 deletions(-)
--
2.1.1.392.g062cc5d