t1007: add hash-object --literally tests
commit383c3427afa3201eb05e931825c5c2f20616b58b
authorEric Sunshine <sunshine@sunshineco.com>
Mon, 4 May 2015 07:25:14 +0000 (4 03:25 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 May 2015 17:17:54 +0000 (5 10:17 -0700)
tree1ac2f07c1c74548ee7d1f26a53660ea8a0cc1959
parent0c3db67cc8137cebea5b1a9c3c7fc379ef8ffda6
t1007: add hash-object --literally tests

git-hash-object learned a --literally option in 5ba9a93
(hash-object: add --literally option, 2014-09-11). Check that
--literally allows object creation with a bogus type, with two
type strings whose length is reasonably short and very long.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1007-hash-object.sh