git-commit rejects messages with NULs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Make commit_tree() take message length in addition to the commit messagebuiltin/ builtin/ builtin/ +6 more | +14 | 5 replies | |
| 2/3 | merge: abort if fails to commitbuiltin/ | +6 | 1 reply | |
| 3/3 | Do not create commits whose message contains NULDocumentation/ advice.c advice.h +3 more | +22 | 7 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] git-commit rejects messages with NULs
Hi,
I'm sorry I forgot the patch that makes commit_tree() take message length. This version rewords the error message and use memchr() instead.
Nguyễn Thái Ngọc Duy (3):
Make commit_tree() take message length in addition to the commit
message
merge: abort if fails to commit
Do not create commits whose message contains NUL
Documentation/config.txt | 4 ++++ advice.c | 2 ++ advice.h | 1 + builtin/commit-tree.c | 2 +- builtin/commit.c | 2 +- builtin/merge.c | 8 ++++++-- builtin/notes.c | 2 +- commit.c | 13 +++++++++++-- commit.h | 2 +- notes-cache.c | 2 +- notes-merge.c | 8 ++++---- notes-merge.h | 2 +- t/t3900-i18n-commit.sh | 6 ++++++ t/t3900/UTF-16.txt | Bin 0 -> 32 bytes 14 files changed, 40 insertions(+), 14 deletions(-) create mode 100644 t/t3900/UTF-16.txt
Signature · 1 line
1.7.8.36.g69ee2