Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 8c4e4ec

Browse files
committed
Merge branch 'maint'
* maint: t7500: fix flipped actual/expect lib-rebase: document exec_ in FAKE_LINES
2 parents 51f11d6 + f66d000 commit 8c4e4ec

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

t/lib-rebase.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
# ("squash", "fixup", "edit", or "reword") and the SHA1 taken
1818
# from the specified line.
1919
#
20+
# "exec_cmd_with_args" -- add an "exec cmd with args" line.
21+
#
2022
# "#" -- Add a comment line.
2123
#
2224
# ">" -- Add a blank line.

t/t7500-commit.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ commit_msg_is () {
1313
expect=commit_msg_is.expect
1414
actual=commit_msg_is.actual
1515

16-
printf "%s" "$(git log --pretty=format:%s%b -1)" >$expect &&
17-
printf "%s" "$1" >$actual &&
18-
test_i18ncmp $expect $actual
16+
printf "%s" "$(git log --pretty=format:%s%b -1)" >"$actual" &&
17+
printf "%s" "$1" >"$expect" &&
18+
test_i18ncmp "$expect" "$actual"
1919
}
2020

2121
# A sanity check to see if commit is working at all.

0 commit comments

Comments
 (0)