[PATCH 0/3] git-commit rejects messages with NULs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]