[PATCH v4 0/5] notes.c: introduce "--separator" optio
- From
Teng Long <dyroneteng@gmail.com>
- Date
- Jan 12, 2023, 02:48 UTC
- Message-ID
- <cover.1673490953.git.dyroneteng@gmail.com>
- In-Reply-To
- <cover.1667980450.git.dyroneteng@gmail.com>
From: Teng Long <dyroneteng@gmail.com>
Sorry for the late patch, my family just recovered from COVID-19.
Diff from v3:
* rename option name from '--blank-line' to '--separator'
Thanks.
Teng Long (5): notes.c: cleanup 'strbuf_grow' call in 'append_edit' notes.c: cleanup for "designated init" and "char ptr init" notes.c: drop unreachable code in 'append_edit()' notes.c: provide tips when target and append note are both empty notes.c: introduce "--separator" option
Documentation/git-notes.txt | 18 +++++++++-- builtin/notes.c | 64 +++++++++++++++++++++++++++++-------- t/t3301-notes.sh | 64 +++++++++++++++++++++++++++++++++++-- 3 files changed, 129 insertions(+), 17 deletions(-)
Range-diff against v3: 1: 8ae58934a1 = 1: f00a759658 notes.c: cleanup 'strbuf_grow' call in 'append_edit' 2: a53576ea88 = 2: 29f7703b06 notes.c: cleanup for "designated init" and "char ptr init" 3: 62a952ba3e = 3: 7b756b4c60 notes.c: drop unreachable code in 'append_edit()' 4: 0d8ce0b14b = 4: d41ba14050 notes.c: provide tips when target and append note are both empty 5: 196e80358e < -: ---------- notes.c: introduce "--no-blank-line" option -: ---------- > 5: f7edbd0e50 notes.c: introduce "--separator" option
-- 2.38.1.386.g6952793f2d9.dirty