[PATCH 0/3] git-commit rejects messages with NULs
- From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
- Date
- Dec 14, 2011, 14:08 UTC
- Message-ID
- <1323871699-8839-1-git-send-email-pclouds@gmail.com>
- In-Reply-To
- <1323777368-19697-1-git-send-email-pclouds@gmail.com>
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 NULDocumentation/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