From: Eric Sunshine Date: Mon, 4 May 2015 07:25:14 +0000 (-0400) Subject: t1007: add hash-object --literally tests X-Git-Tag: v2.4.2~2^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=383c3427afa3201eb05e931825c5c2f20616b58b;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- diff --git a/t/t1007-hash-object.sh b/t/t1007-hash-object.sh index f83df8eb8b..7c3dcfb70c 100755 --- a/t/t1007-hash-object.sh +++ b/t/t1007-hash-object.sh @@ -201,4 +201,15 @@ test_expect_success 'corrupt tag' ' test_must_fail git hash-object -t tag --stdin