diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-09-11 13:14:51 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-09-11 14:23:51 -0700 |
commit | 5ba9a93b39bef057be54ecf7933386a582981625 (patch) | |
tree | fba75dfc9afd84c57d2c338e32f64cb76b66822a /t/t5537-fetch-shallow.sh | |
parent | hash-object: pass 'write_object' as a flag (diff) | |
download | tgif-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/t5537-fetch-shallow.sh')
0 files changed, 0 insertions, 0 deletions