[PATCH 0/3] git-commit rejects messages with NULs
From: Nguyễn Thái Ngọc Duy <hidden>
Date: 2016-06-15 22:52:38
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
--
1.7.8.36.g69ee2