summaryrefslogtreecommitdiff
path: root/t/t4101/diff.0-2
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-09-11 13:14:51 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-09-11 14:23:51 -0700
commit5ba9a93b39bef057be54ecf7933386a582981625 (patch)
treefba75dfc9afd84c57d2c338e32f64cb76b66822a /t/t4101/diff.0-2
parenthash-object: pass 'write_object' as a flag (diff)
downloadtgif-5ba9a93b39bef057be54ecf7933386a582981625.tar.xz
hash-object: add --literally option
This allows "hash-object --stdin" to just hash any garbage into a "loose object" that may not pass the standard object parsing check or fsck, so that different kind of corrupt objects we may encounter in the field can be imitated in our test suite. That would in turn allow us to test features that catch these corrupt objects. Note that "cat-file" may need to learn "--literally" option to allow us peek into a truly broken object. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4101/diff.0-2')
0 files changed, 0 insertions, 0 deletions