Sync with 'maint'
* maint: Correct common spelling mistakes in comments and tests kwset: fix spelling in comments precompose-utf8: fix spelling of "want" in error message compat/nedmalloc: fix spelling in comments compat/regex: fix spelling and grammar in comments obstack: fix spelling of similar contrib/subtree: fix spelling of accidentally git-remote-mediawiki: spelling fixes doc: various spelling fixes fast-export: fix argument name in error messages Documentation: distinguish between ref and offset deltas in pack-format i18n: make the translation of -u advice in one go
This commit is contained in:
@ -116,9 +116,9 @@ tree_pretty_content="100644 blob $hello_sha1 hello"
|
||||
|
||||
run_tests 'tree' $tree_sha1 $tree_size "" "$tree_pretty_content"
|
||||
|
||||
commit_message="Intial commit"
|
||||
commit_message="Initial commit"
|
||||
commit_sha1=$(echo_without_newline "$commit_message" | git commit-tree $tree_sha1)
|
||||
commit_size=176
|
||||
commit_size=177
|
||||
commit_content="tree $tree_sha1
|
||||
author $GIT_AUTHOR_NAME <$GIT_AUTHOR_EMAIL> 0000000000 +0000
|
||||
committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> 0000000000 +0000
|
||||
|
@ -319,7 +319,7 @@ test_expect_success PERL 'split hunk "add -p (edit)"' '
|
||||
# times to get out.
|
||||
#
|
||||
# 2. Correct version applies the (not)edited version, and asks
|
||||
# about the next hunk, against wich we say q and program
|
||||
# about the next hunk, against which we say q and program
|
||||
# exits.
|
||||
for a in s e q n q q
|
||||
do
|
||||
|
@ -742,21 +742,21 @@ test_expect_success 'format-patch --signature --cover-letter' '
|
||||
test 2 = $(grep "my sig" output | wc -l)
|
||||
'
|
||||
|
||||
test_expect_success 'format.signature="" supresses signatures' '
|
||||
test_expect_success 'format.signature="" suppresses signatures' '
|
||||
git config format.signature "" &&
|
||||
git format-patch --stdout -1 >output &&
|
||||
check_patch output &&
|
||||
! grep "^-- \$" output
|
||||
'
|
||||
|
||||
test_expect_success 'format-patch --no-signature supresses signatures' '
|
||||
test_expect_success 'format-patch --no-signature suppresses signatures' '
|
||||
git config --unset-all format.signature &&
|
||||
git format-patch --stdout --no-signature -1 >output &&
|
||||
check_patch output &&
|
||||
! grep "^-- \$" output
|
||||
'
|
||||
|
||||
test_expect_success 'format-patch --signature="" supresses signatures' '
|
||||
test_expect_success 'format-patch --signature="" suppresses signatures' '
|
||||
git format-patch --stdout --signature="" -1 >output &&
|
||||
check_patch output &&
|
||||
! grep "^-- \$" output
|
||||
|
@ -47,7 +47,7 @@ test_fix () {
|
||||
# find touched lines
|
||||
$DIFF file target | sed -n -e "s/^> //p" >fixed
|
||||
|
||||
# the changed lines are all expeced to change
|
||||
# the changed lines are all expected to change
|
||||
fixed_cnt=$(wc -l <fixed)
|
||||
case "$1" in
|
||||
'') expect_cnt=$fixed_cnt ;;
|
||||
|
@ -190,7 +190,7 @@ test_expect_success 'bisect start: no ".git/BISECT_START" if checkout error' '
|
||||
# $HASH1 is good, $HASH4 is bad, we skip $HASH3
|
||||
# but $HASH2 is bad,
|
||||
# so we should find $HASH2 as the first bad commit
|
||||
test_expect_success 'bisect skip: successfull result' '
|
||||
test_expect_success 'bisect skip: successful result' '
|
||||
git bisect reset &&
|
||||
git bisect start $HASH4 $HASH1 &&
|
||||
git bisect skip &&
|
||||
|
@ -109,7 +109,7 @@ test_expect_success 'setup conflicted merge' '
|
||||
'
|
||||
|
||||
# First do the merge with resolve and recursive then verify that
|
||||
# recusive is choosen.
|
||||
# recusive is chosen.
|
||||
|
||||
test_expect_success 'merge picks up the best result' '
|
||||
git config --unset-all pull.twohead &&
|
||||
|
@ -237,7 +237,7 @@ test_expect_success 'mergetool takes partial path' '
|
||||
git submodule update -N &&
|
||||
test_must_fail git merge master &&
|
||||
|
||||
#shouldnt need these lines
|
||||
#should not need these lines
|
||||
#( yes "d" | git mergetool file11 >/dev/null 2>&1 ) &&
|
||||
#( yes "d" | git mergetool file12 >/dev/null 2>&1 ) &&
|
||||
#( yes "l" | git mergetool submod >/dev/null 2>&1 ) &&
|
||||
|
@ -101,7 +101,7 @@ test_expect_success $PREREQ \
|
||||
|
||||
test_expect_success $PREREQ 'Send patches with --envelope-sender' '
|
||||
clean_fake_sendmail &&
|
||||
git send-email --envelope-sender="Patch Contributer <patch@example.com>" --suppress-cc=sob --from="Example <nobody@example.com>" --to=nobody@example.com --smtp-server="$(pwd)/fake.sendmail" $patches 2>errors
|
||||
git send-email --envelope-sender="Patch Contributor <patch@example.com>" --suppress-cc=sob --from="Example <nobody@example.com>" --to=nobody@example.com --smtp-server="$(pwd)/fake.sendmail" $patches 2>errors
|
||||
'
|
||||
|
||||
test_expect_success $PREREQ 'setup expect' '
|
||||
@ -787,7 +787,7 @@ test_expect_success $PREREQ 'confirm detects EOF (auto causes failure)' '
|
||||
test $ret = "0"
|
||||
'
|
||||
|
||||
test_expect_success $PREREQ 'confirm doesnt loop forever' '
|
||||
test_expect_success $PREREQ 'confirm does not loop forever' '
|
||||
CONFIRM=$(git config --get sendemail.confirm) &&
|
||||
git config sendemail.confirm auto &&
|
||||
GIT_SEND_EMAIL_NOTTY=1 &&
|
||||
|
Reference in New Issue
Block a user