X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft6006-rev-list-format.sh;h=ad6d0b8c9da56e22b22d4fd97898f20101964e1f;hb=d60a6a662fac58f833efde93c962314fd5d83541;hp=aab17face8c0b326359c250bb83684ed3b894160;hpb=03bcaacaadbb325f412e6dffec27fea6acb9321e;p=git.git diff --git a/t/t6006-rev-list-format.sh b/t/t6006-rev-list-format.sh index aab17face..ad6d0b8c9 100755 --- a/t/t6006-rev-list-format.sh +++ b/t/t6006-rev-list-format.sh @@ -1,12 +1,12 @@ #!/bin/sh -test_description='git-rev-list --pretty=format test' +test_description='git rev-list --pretty=format test' . ./test-lib.sh test_tick test_expect_success 'setup' ' -touch foo && git-add foo && git-commit -m "added foo" && +touch foo && git add foo && git-commit -m "added foo" && echo changed >foo && git-commit -a -m "changed foo" ' @@ -14,8 +14,8 @@ touch foo && git-add foo && git-commit -m "added foo" && test_format() { cat >expect.$1 test_expect_success "format $1" " -git-rev-list --pretty=format:$2 master >output.$1 && -git-diff expect.$1 output.$1 +git rev-list --pretty=format:$2 master >output.$1 && +git diff expect.$1 output.$1 " } @@ -113,7 +113,7 @@ and it will be encoded in iso8859-1. We should therefore include an iso8859 character: ¡bueno! EOF test_expect_success 'setup complex body' ' -git-config i18n.commitencoding iso8859-1 && +git config i18n.commitencoding iso8859-1 && echo change2 >foo && git-commit -a -F commit-msg '