Merge branch 'jc/hash-object'
authorJunio C Hamano <gitster@pobox.com>
Fri, 26 Sep 2014 21:39:43 +0000 (14:39 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Sep 2014 21:39:43 +0000 (14:39 -0700)
"hash-object" learned a new "--literally" option to hash any random
garbage into a loose object, to allow us to create a test data for
mechanisms to catch corrupt objects.

* jc/hash-object:
hash-object: add --literally option
hash-object: pass 'write_object' as a flag
hash-object: reduce file-scope statics

Trivial merge