Thread (11 messages) flat view 11 messages, 2 authors, 2016-06-15
STALE3734d

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:04:38

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help