[PATCH 0/4] "hash-object --literally" fixes

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

 



This is a rework of Eric's fix (Thanks!), to avoid using strbuf all
the time, even when we are not doing "hash-object --literally".

Eric Sunshine (3):
  git-hash-object.txt: document --literally option
  write_sha1_file_prepare: fix buffer overrun with extra-long object type
  t1007: add hash-object --literally tests

Junio C Hamano (1):
  write_sha1_file(): do not use a separate sha1[] array

 Documentation/git-hash-object.txt | 10 ++++++++--
 builtin/hash-object.c             |  4 +---
 cache.h                           |  1 +
 sha1_file.c                       | 32 +++++++++++++++++++++++++++-----
 t/t1007-hash-object.sh            | 11 +++++++++++
 5 files changed, 48 insertions(+), 10 deletions(-)

-- 
2.4.0-302-g6743426

--
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]