summaryrefslogtreecommitdiff
path: root/t/t7500-commit.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-07-01 19:46:54 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-07-01 19:46:54 (GMT)
commit8c4e4ec3ff053331c845331645a437b01b1f0de6 (patch)
tree2eb332d5fa1ce82ba8d561ab3abb5bd27e2fcf6a /t/t7500-commit.sh
parent51f11d69b16ab6614b79b3b4c12d35ca2b450a22 (diff)
parentf66d000b0d7d6d3c858f3aacd9a67d4809ac8011 (diff)
downloadgit-8c4e4ec3ff053331c845331645a437b01b1f0de6.zip
git-8c4e4ec3ff053331c845331645a437b01b1f0de6.tar.gz
git-8c4e4ec3ff053331c845331645a437b01b1f0de6.tar.bz2
Merge branch 'maint'
* maint: t7500: fix flipped actual/expect lib-rebase: document exec_ in FAKE_LINES
Diffstat (limited to 't/t7500-commit.sh')
-rwxr-xr-xt/t7500-commit.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t7500-commit.sh b/t/t7500-commit.sh
index 436b7b6..bdc1f29 100755
--- a/t/t7500-commit.sh
+++ b/t/t7500-commit.sh
@@ -13,9 +13,9 @@ commit_msg_is () {
expect=commit_msg_is.expect
actual=commit_msg_is.actual
- printf "%s" "$(git log --pretty=format:%s%b -1)" >$expect &&
- printf "%s" "$1" >$actual &&
- test_i18ncmp $expect $actual
+ printf "%s" "$(git log --pretty=format:%s%b -1)" >"$actual" &&
+ printf "%s" "$1" >"$expect" &&
+ test_i18ncmp "$expect" "$actual"
}
# A sanity check to see if commit is working at all.