3 test_description
='git svn dcommit CRLF'
6 test_expect_success
'setup commit repository' '
7 svn_cmd mkdir -m "$test_description" "$svnrepo/dir" &&
8 git svn clone "$svnrepo" work &&
12 git update-index --add foo &&
13 printf "a\\r\\n\\r\\nb\\r\\nc\\r\\n" >cmt &&
14 p=$(git rev-parse HEAD) &&
15 t=$(git write-tree) &&
16 cmt=$(git commit-tree -p $p $t <cmt) &&
17 git update-ref refs/heads/master $cmt &&
18 git cat-file commit HEAD | tail -n4 >out &&
21 printf "a\\n\\nb\\nc\\n" >exp &&
22 git cat-file commit HEAD | sed -ne 6,9p >out &&