Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  t7500: fix flipped actual/expect
  lib-rebase: document exec_ in FAKE_LINES
  • Loading branch information
Junio C Hamano committed Jul 1, 2013
2 parents 51f11d6 + f66d000 commit 8c4e4ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions t/lib-rebase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
# ("squash", "fixup", "edit", or "reword") and the SHA1 taken
# from the specified line.
#
# "exec_cmd_with_args" -- add an "exec cmd with args" line.
#
# "#" -- Add a comment line.
#
# ">" -- Add a blank line.
Expand Down
6 changes: 3 additions & 3 deletions t/t7500-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8c4e4ec

Please sign in to comment.