mirror of
https://github.com/git/git.git
synced 2026-04-12 01:40:10 +02:00
Merge branch 'en/doc-typofix'
Docfix. * en/doc-typofix: Fix spelling errors in no-longer-updated-from-upstream modules multimail: fix a few simple spelling errors sha1dc: fix trivial comment spelling error Fix spelling errors in test commands Fix spelling errors in messages shown to users Fix spelling errors in names of tests Fix spelling errors in comments of testcases Fix spelling errors in code comments Fix spelling errors in documentation outside of Documentation/ Documentation: fix a bunch of typos, both old and new
This commit is contained in:
@@ -51,7 +51,7 @@ oldtime=$(echo "$oldtime" | sed -e 's/^\([0-9]\+\.[0-9]\+\).*$/\1/')
|
||||
newtime=$(echo "$newtime" | sed -e 's/^\([0-9]\+\.[0-9]\+\).*$/\1/')
|
||||
|
||||
test $(echo "$newtime" "$oldtime" | awk '{ print ($1 > $2) }') = 1 ||
|
||||
die "New time '$newtime' shoud be greater than old time '$oldtime'"
|
||||
die "New time '$newtime' should be greater than old time '$oldtime'"
|
||||
|
||||
tmpdir=$(mktemp -d -t bisect_regression_XXXXXX) || die "Failed to create temp directory"
|
||||
echo "$oldtime" >"$tmpdir/oldtime" || die "Failed to write to '$tmpdir/oldtime'"
|
||||
|
||||
@@ -126,7 +126,7 @@ check_sub_test_lib_test () {
|
||||
|
||||
check_sub_test_lib_test_err () {
|
||||
name="$1" # stdin is the expected output from the test
|
||||
# expected error output is in descriptior 3
|
||||
# expected error output is in descriptor 3
|
||||
(
|
||||
cd "$name" &&
|
||||
sed -e 's/^> //' -e 's/Z$//' >expect.out &&
|
||||
|
||||
@@ -215,7 +215,7 @@ stats_ascii () {
|
||||
}
|
||||
|
||||
|
||||
# contruct the attr/ returned by git ls-files --eol
|
||||
# construct the attr/ returned by git ls-files --eol
|
||||
# Take none (=empty), one or two args
|
||||
# convert.c: eol=XX overrides text=auto
|
||||
attr_ascii () {
|
||||
|
||||
@@ -76,7 +76,7 @@ EOF
|
||||
'
|
||||
|
||||
test_expect_success 'progress display breaks long lines #2' '
|
||||
# Note: we dont need that many spaces after the title to cover up
|
||||
# Note: we do not need that many spaces after the title to cover up
|
||||
# the last line before breaking the progress line.
|
||||
sed -e "s/Z$//" >expect <<\EOF &&
|
||||
Working hard.......2.........3.........4.........5.........6: 0% (1/100000)<CR>
|
||||
@@ -104,7 +104,7 @@ EOF
|
||||
'
|
||||
|
||||
test_expect_success 'progress display breaks long lines #3 - even the first is too long' '
|
||||
# Note: we dont actually need any spaces at the end of the title
|
||||
# Note: we do not actually need any spaces at the end of the title
|
||||
# line, because there is no previous progress line to cover up.
|
||||
sed -e "s/Z$//" >expect <<\EOF &&
|
||||
Working hard.......2.........3.........4.........5.........6: Z
|
||||
|
||||
@@ -194,15 +194,15 @@ test_expect_success 'pack-objects with large loose object' '
|
||||
test_cmp huge actual
|
||||
'
|
||||
|
||||
test_expect_success 'tar achiving' '
|
||||
test_expect_success 'tar archiving' '
|
||||
git archive --format=tar HEAD >/dev/null
|
||||
'
|
||||
|
||||
test_expect_success 'zip achiving, store only' '
|
||||
test_expect_success 'zip archiving, store only' '
|
||||
git archive --format=zip -0 HEAD >/dev/null
|
||||
'
|
||||
|
||||
test_expect_success 'zip achiving, deflate' '
|
||||
test_expect_success 'zip archiving, deflate' '
|
||||
git archive --format=zip HEAD >/dev/null
|
||||
'
|
||||
|
||||
|
||||
@@ -339,7 +339,7 @@ test_expect_success C_LOCALE_OUTPUT 'ambiguity hints' '
|
||||
test_expect_success C_LOCALE_OUTPUT 'ambiguity hints respect type' '
|
||||
test_must_fail git rev-parse 000000000^{commit} 2>stderr &&
|
||||
grep ^hint: stderr >hints &&
|
||||
# 5 commits, 1 tag (which is a commitish), plus intro line
|
||||
# 5 commits, 1 tag (which is a committish), plus intro line
|
||||
test_line_count = 7 hints
|
||||
'
|
||||
|
||||
|
||||
@@ -240,7 +240,7 @@ test_expect_success 'retry acquiring packed-refs.lock' '
|
||||
|
||||
test_expect_success SYMLINKS 'pack symlinked packed-refs' '
|
||||
# First make sure that symlinking works when reading:
|
||||
git update-ref refs/heads/loosy refs/heads/master &&
|
||||
git update-ref refs/heads/lossy refs/heads/master &&
|
||||
git for-each-ref >all-refs-before &&
|
||||
mv .git/packed-refs .git/my-deviant-packed-refs &&
|
||||
ln -s my-deviant-packed-refs .git/packed-refs &&
|
||||
|
||||
@@ -277,8 +277,8 @@ test_expect_success 'stash -u -- <ignored> leaves ignored file alone' '
|
||||
test_path_is_file ignored.d/bar
|
||||
'
|
||||
|
||||
test_expect_success 'stash -u -- <non-existant> shows no changes when there are none' '
|
||||
git stash push -u -- non-existant >actual &&
|
||||
test_expect_success 'stash -u -- <non-existent> shows no changes when there are none' '
|
||||
git stash push -u -- non-existent >actual &&
|
||||
echo "No local changes to save" >expect &&
|
||||
test_i18ncmp expect actual
|
||||
'
|
||||
|
||||
@@ -284,7 +284,7 @@ test_expect_success 'submodule contains untracked content (all ignored)' '
|
||||
test_must_be_empty actual
|
||||
'
|
||||
|
||||
test_expect_success 'submodule contains untracked and modifed content' '
|
||||
test_expect_success 'submodule contains untracked and modified content' '
|
||||
echo new > sm1/foo6 &&
|
||||
git diff-index -p --submodule=log HEAD >actual &&
|
||||
cat >expected <<-EOF &&
|
||||
@@ -294,7 +294,7 @@ test_expect_success 'submodule contains untracked and modifed content' '
|
||||
test_cmp expected actual
|
||||
'
|
||||
|
||||
test_expect_success 'submodule contains untracked and modifed content (untracked ignored)' '
|
||||
test_expect_success 'submodule contains untracked and modified content (untracked ignored)' '
|
||||
echo new > sm1/foo6 &&
|
||||
git diff-index -p --ignore-submodules=untracked --submodule=log HEAD >actual &&
|
||||
cat >expected <<-EOF &&
|
||||
@@ -303,19 +303,19 @@ test_expect_success 'submodule contains untracked and modifed content (untracked
|
||||
test_cmp expected actual
|
||||
'
|
||||
|
||||
test_expect_success 'submodule contains untracked and modifed content (dirty ignored)' '
|
||||
test_expect_success 'submodule contains untracked and modified content (dirty ignored)' '
|
||||
echo new > sm1/foo6 &&
|
||||
git diff-index -p --ignore-submodules=dirty --submodule=log HEAD >actual &&
|
||||
test_must_be_empty actual
|
||||
'
|
||||
|
||||
test_expect_success 'submodule contains untracked and modifed content (all ignored)' '
|
||||
test_expect_success 'submodule contains untracked and modified content (all ignored)' '
|
||||
echo new > sm1/foo6 &&
|
||||
git diff-index -p --ignore-submodules --submodule=log HEAD >actual &&
|
||||
test_must_be_empty actual
|
||||
'
|
||||
|
||||
test_expect_success 'submodule contains modifed content' '
|
||||
test_expect_success 'submodule contains modified content' '
|
||||
rm -f sm1/new-file &&
|
||||
git diff-index -p --submodule=log HEAD >actual &&
|
||||
cat >expected <<-EOF &&
|
||||
@@ -369,7 +369,7 @@ test_expect_success 'modified submodule contains untracked content (all ignored)
|
||||
test_must_be_empty actual
|
||||
'
|
||||
|
||||
test_expect_success 'modified submodule contains untracked and modifed content' '
|
||||
test_expect_success 'modified submodule contains untracked and modified content' '
|
||||
echo modification >> sm1/foo6 &&
|
||||
git diff-index -p --submodule=log HEAD >actual &&
|
||||
cat >expected <<-EOF &&
|
||||
@@ -381,7 +381,7 @@ test_expect_success 'modified submodule contains untracked and modifed content'
|
||||
test_cmp expected actual
|
||||
'
|
||||
|
||||
test_expect_success 'modified submodule contains untracked and modifed content (untracked ignored)' '
|
||||
test_expect_success 'modified submodule contains untracked and modified content (untracked ignored)' '
|
||||
echo modification >> sm1/foo6 &&
|
||||
git diff-index -p --ignore-submodules=untracked --submodule=log HEAD >actual &&
|
||||
cat >expected <<-EOF &&
|
||||
@@ -392,7 +392,7 @@ test_expect_success 'modified submodule contains untracked and modifed content (
|
||||
test_cmp expected actual
|
||||
'
|
||||
|
||||
test_expect_success 'modified submodule contains untracked and modifed content (dirty ignored)' '
|
||||
test_expect_success 'modified submodule contains untracked and modified content (dirty ignored)' '
|
||||
echo modification >> sm1/foo6 &&
|
||||
git diff-index -p --ignore-submodules=dirty --submodule=log HEAD >actual &&
|
||||
cat >expected <<-EOF &&
|
||||
@@ -402,13 +402,13 @@ test_expect_success 'modified submodule contains untracked and modifed content (
|
||||
test_cmp expected actual
|
||||
'
|
||||
|
||||
test_expect_success 'modified submodule contains untracked and modifed content (all ignored)' '
|
||||
test_expect_success 'modified submodule contains untracked and modified content (all ignored)' '
|
||||
echo modification >> sm1/foo6 &&
|
||||
git diff-index -p --ignore-submodules --submodule=log HEAD >actual &&
|
||||
test_must_be_empty actual
|
||||
'
|
||||
|
||||
test_expect_success 'modified submodule contains modifed content' '
|
||||
test_expect_success 'modified submodule contains modified content' '
|
||||
rm -f sm1/new-file &&
|
||||
git diff-index -p --submodule=log HEAD >actual &&
|
||||
cat >expected <<-EOF &&
|
||||
|
||||
@@ -33,7 +33,7 @@ test_expect_success 'trivial merge - combine-diff empty' '
|
||||
'
|
||||
|
||||
|
||||
test_expect_success 'only one trully conflicting path' '
|
||||
test_expect_success 'only one truly conflicting path' '
|
||||
git checkout side &&
|
||||
for i in $(test_seq 2 9)
|
||||
do
|
||||
|
||||
@@ -75,8 +75,8 @@ diff --git a/Documentation/git.txt b/Documentation/git.txt
|
||||
+link:git-ssh-pull.html[git-ssh-pull]::
|
||||
Pulls from a remote repository over ssh connection
|
||||
|
||||
Interogators:
|
||||
@@ -156,8 +156,8 @@ Interogators:
|
||||
Interrogators:
|
||||
@@ -156,8 +156,8 @@ Interrogators:
|
||||
link:git-diff-helper.html[git-diff-helper]::
|
||||
Generates patch format output for git-diff-*
|
||||
|
||||
|
||||
@@ -211,7 +211,7 @@ dissimilarity index 82%
|
||||
-
|
||||
- /* If this is an exact directory match, we may have
|
||||
- * directory files following this path. Match on them.
|
||||
- * Otherwise, we're at a pach subcomponent, and we need
|
||||
- * Otherwise, we're at a patch subcomponent, and we need
|
||||
- * to try to match again.
|
||||
- */
|
||||
- if (mtype == 0)
|
||||
|
||||
@@ -185,8 +185,8 @@ diff a/Documentation/git.txt b/Documentation/git.txt
|
||||
+link:git-ssh-pull.html[git-ssh-pull]::
|
||||
Pulls from a remote repository over ssh connection
|
||||
|
||||
Interogators:
|
||||
@@ -156,8 +156,8 @@ Interogators:
|
||||
Interrogators:
|
||||
@@ -156,8 +156,8 @@ Interrogators:
|
||||
link:git-diff-helper.html[git-diff-helper]::
|
||||
Generates patch format output for git-diff-*
|
||||
|
||||
|
||||
@@ -335,7 +335,7 @@ diff a/ls-tree.c b/ls-tree.c
|
||||
|
||||
- /* If this is an exact directory match, we may have
|
||||
- * directory files following this path. Match on them.
|
||||
- * Otherwise, we're at a pach subcomponent, and we need
|
||||
- * Otherwise, we're at a patch subcomponent, and we need
|
||||
- * to try to match again.
|
||||
+ if (e->directory) {
|
||||
+ /* If this is a directory, we have the following cases:
|
||||
|
||||
@@ -640,7 +640,7 @@ test_expect_success 'pretty format %(trailers:key=foo) multiple keys' '
|
||||
test_cmp expect actual
|
||||
'
|
||||
|
||||
test_expect_success '%(trailers:key=nonexistant) becomes empty' '
|
||||
test_expect_success '%(trailers:key=nonexistent) becomes empty' '
|
||||
git log --no-walk --pretty="x%(trailers:key=Nacked-by)x" >actual &&
|
||||
echo "xx" >expect &&
|
||||
test_cmp expect actual
|
||||
|
||||
@@ -36,7 +36,7 @@ count_expand ()
|
||||
esac
|
||||
|
||||
# Prefix the output with the command line arguments, and
|
||||
# replace SP with a dot both in the expecte and actual output
|
||||
# replace SP with a dot both in the expected and actual output
|
||||
# so that test_cmp would show the difference together with the
|
||||
# breakage in a way easier to consume by the debugging user.
|
||||
{
|
||||
|
||||
@@ -163,7 +163,7 @@ test_pushdefault_workflow success current master
|
||||
# update parent1's foo (which is our upstream)
|
||||
test_pushdefault_workflow success upstream foo
|
||||
|
||||
# upsream is foo which is not the name of the current branch
|
||||
# upstream is foo which is not the name of the current branch
|
||||
test_pushdefault_workflow failure simple master
|
||||
|
||||
# master and foo are updated
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
test_description='avoiding conflicting update thru symref aliasing'
|
||||
test_description='avoiding conflicting update through symref aliasing'
|
||||
|
||||
. ./test-lib.sh
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ test_expect_success 'push options and submodules' '
|
||||
|
||||
git -C parent submodule add ../upstream workbench &&
|
||||
git -C parent/workbench remote add up ../../upstream &&
|
||||
git -C parent commit -m "add submoule" &&
|
||||
git -C parent commit -m "add submodule" &&
|
||||
|
||||
test_commit -C parent/workbench two &&
|
||||
git -C parent add workbench &&
|
||||
|
||||
@@ -32,7 +32,7 @@ test_expect_success 'list refs with git:// using protocol v2' '
|
||||
test_cmp expect actual
|
||||
'
|
||||
|
||||
test_expect_success 'ref advertisment is filtered with ls-remote using protocol v2' '
|
||||
test_expect_success 'ref advertisement is filtered with ls-remote using protocol v2' '
|
||||
test_when_finished "rm -f log" &&
|
||||
|
||||
GIT_TRACE_PACKET="$(pwd)/log" git -c protocol.version=2 \
|
||||
@@ -154,7 +154,7 @@ test_expect_success 'list refs with file:// using protocol v2' '
|
||||
test_cmp expect actual
|
||||
'
|
||||
|
||||
test_expect_success 'ref advertisment is filtered with ls-remote using protocol v2' '
|
||||
test_expect_success 'ref advertisement is filtered with ls-remote using protocol v2' '
|
||||
test_when_finished "rm -f log" &&
|
||||
|
||||
GIT_TRACE_PACKET="$(pwd)/log" git -c protocol.version=2 \
|
||||
@@ -225,7 +225,7 @@ test_expect_success 'fetch with file:// using protocol v2' '
|
||||
grep "fetch< version 2" log
|
||||
'
|
||||
|
||||
test_expect_success 'ref advertisment is filtered during fetch using protocol v2' '
|
||||
test_expect_success 'ref advertisement is filtered during fetch using protocol v2' '
|
||||
test_when_finished "rm -f log" &&
|
||||
|
||||
test_commit -C file_parent three &&
|
||||
@@ -682,9 +682,9 @@ test_expect_success 'push with http:// and a config of v2 does not request v2' '
|
||||
git -C "$HTTPD_DOCUMENT_ROOT_PATH/http_parent" log -1 --format=%s client_branch >expect &&
|
||||
test_cmp expect actual &&
|
||||
|
||||
# Client didnt request to use protocol v2
|
||||
# Client did not request to use protocol v2
|
||||
! grep "Git-Protocol: version=2" log &&
|
||||
# Server didnt respond using protocol v2
|
||||
# Server did not respond using protocol v2
|
||||
! grep "git< version 2" log
|
||||
'
|
||||
|
||||
|
||||
@@ -1532,7 +1532,7 @@ test_expect_success 'setup nested conflicts' '
|
||||
mv -f b_R1 b &&
|
||||
mv -f a_R1 a &&
|
||||
git add b a &&
|
||||
test_tick && git commit -m "verson R1 of files" &&
|
||||
test_tick && git commit -m "version R1 of files" &&
|
||||
git tag R1 &&
|
||||
|
||||
# Create first merge on left side
|
||||
@@ -1696,7 +1696,7 @@ test_expect_success 'setup virtual merge base with nested conflicts' '
|
||||
git checkout R &&
|
||||
echo right >>content &&
|
||||
git add content &&
|
||||
test_tick && git commit -m "verson R1 of content" &&
|
||||
test_tick && git commit -m "version R1 of content" &&
|
||||
git tag R1 &&
|
||||
|
||||
# Create L2
|
||||
|
||||
@@ -754,7 +754,7 @@ test_expect_success '3b: Avoid implicit rename if involved as source on current
|
||||
#
|
||||
# What if we were to attempt to do directory rename detection when someone
|
||||
# "mostly" moved a directory but still left some files around, or,
|
||||
# equivalently, fully renamed a directory in one commmit and then recreated
|
||||
# equivalently, fully renamed a directory in one commit and then recreated
|
||||
# that directory in a later commit adding some new files and then tried to
|
||||
# merge?
|
||||
#
|
||||
@@ -953,7 +953,7 @@ test_expect_success '5a: Merge directories, other side adds files to original an
|
||||
# Commit B: z/{b,c,d_1,e}, y/d_3
|
||||
# Expected: y/{b,c,e}, CONFLICT(add/add: y/d_2 vs. y/d_3)
|
||||
# NOTE: If z/d_1 in commit B were to be involved in dir rename detection, as
|
||||
# we normaly would since z/ is being renamed to y/, then this would be
|
||||
# we normally would since z/ is being renamed to y/, then this would be
|
||||
# a rename/delete (z/d_1 -> y/d_1 vs. deleted) AND an add/add/add
|
||||
# conflict of y/d_1 vs. y/d_2 vs. y/d_3. Add/add/add is not
|
||||
# representable in the index, so the existence of y/d_3 needs to
|
||||
@@ -2116,7 +2116,7 @@ test_expect_success '8b: Dual-directory rename, one into the others way, with co
|
||||
#
|
||||
# Note: It could easily be argued that the correct resolution here is
|
||||
# y/{b,c,e}, CONFLICT(rename/delete: z/d -> y/d vs deleted)
|
||||
# and that the modifed version of d should be present in y/ after
|
||||
# and that the modified version of d should be present in y/ after
|
||||
# the merge, just marked as conflicted. Indeed, I previously did
|
||||
# argue that. But applying directory renames to the side of
|
||||
# history where a file is merely modified results in spurious
|
||||
|
||||
@@ -1420,7 +1420,7 @@ test_expect_success \
|
||||
get_tag_header reuse $commit commit $time >expect
|
||||
echo "An annotation to be reused" >> expect
|
||||
test_expect_success \
|
||||
'overwriting an annoted tag should use its previous body' '
|
||||
'overwriting an annotated tag should use its previous body' '
|
||||
git tag -a -m "An annotation to be reused" reuse &&
|
||||
GIT_EDITOR=true git tag -f -a reuse &&
|
||||
get_tag_msg reuse >actual &&
|
||||
|
||||
@@ -44,8 +44,8 @@ test_expect_success GPG 'create signed tags' '
|
||||
test_expect_success GPGSM 'create signed tags x509 ' '
|
||||
test_config gpg.format x509 &&
|
||||
test_config user.signingkey $GIT_COMMITTER_EMAIL &&
|
||||
echo 9 >file && test_tick && git commit -a -m "nineth gpgsm-signed" &&
|
||||
git tag -s -m nineth nineth-signed-x509
|
||||
echo 9 >file && test_tick && git commit -a -m "ninth gpgsm-signed" &&
|
||||
git tag -s -m ninth ninth-signed-x509
|
||||
'
|
||||
|
||||
test_expect_success GPG 'verify and show signatures' '
|
||||
@@ -80,10 +80,10 @@ test_expect_success GPG 'verify and show signatures' '
|
||||
'
|
||||
|
||||
test_expect_success GPGSM 'verify and show signatures x509' '
|
||||
git verify-tag nineth-signed-x509 2>actual &&
|
||||
git verify-tag ninth-signed-x509 2>actual &&
|
||||
grep "Good signature from" actual &&
|
||||
! grep "BAD signature from" actual &&
|
||||
echo nineth-signed-x509 OK
|
||||
echo ninth-signed-x509 OK
|
||||
'
|
||||
|
||||
test_expect_success GPG 'detect fudged signature' '
|
||||
@@ -127,10 +127,10 @@ test_expect_success GPG 'verify signatures with --raw' '
|
||||
'
|
||||
|
||||
test_expect_success GPGSM 'verify signatures with --raw x509' '
|
||||
git verify-tag --raw nineth-signed-x509 2>actual &&
|
||||
git verify-tag --raw ninth-signed-x509 2>actual &&
|
||||
grep "GOODSIG" actual &&
|
||||
! grep "BADSIG" actual &&
|
||||
echo nineth-signed-x509 OK
|
||||
echo ninth-signed-x509 OK
|
||||
'
|
||||
|
||||
test_expect_success GPG 'verify multiple tags' '
|
||||
@@ -147,7 +147,7 @@ test_expect_success GPG 'verify multiple tags' '
|
||||
'
|
||||
|
||||
test_expect_success GPGSM 'verify multiple tags x509' '
|
||||
tags="seventh-signed nineth-signed-x509" &&
|
||||
tags="seventh-signed ninth-signed-x509" &&
|
||||
for i in $tags
|
||||
do
|
||||
git verify-tag -v --raw $i || return 1
|
||||
|
||||
@@ -1571,7 +1571,7 @@ test_expect_success '"status.showStash=true" weaker than "--no-show-stash"' '
|
||||
test_cmp expected_without_stash actual
|
||||
'
|
||||
|
||||
test_expect_success 'no additionnal info if no stash entries' '
|
||||
test_expect_success 'no additional info if no stash entries' '
|
||||
git stash clear &&
|
||||
git -c status.showStash=true status >actual &&
|
||||
test_cmp expected_without_stash actual
|
||||
|
||||
@@ -1234,7 +1234,7 @@ test_expect_success 'with simple command' '
|
||||
test_cmp expected actual
|
||||
'
|
||||
|
||||
test_expect_success 'with command using commiter information' '
|
||||
test_expect_success 'with command using committer information' '
|
||||
git config trailer.sign.ifExists "addIfDifferent" &&
|
||||
git config trailer.sign.command "echo \"\$GIT_COMMITTER_NAME <\$GIT_COMMITTER_EMAIL>\"" &&
|
||||
cat complex_message_body >expected &&
|
||||
|
||||
@@ -294,7 +294,7 @@ do
|
||||
done
|
||||
done
|
||||
|
||||
# test that splitting the index dosn't interfere
|
||||
# test that splitting the index doesn't interfere
|
||||
test_expect_success 'splitting the index results in the same state' '
|
||||
write_integration_script &&
|
||||
dirty_repo &&
|
||||
|
||||
@@ -1260,7 +1260,7 @@ test_expect_success $PREREQ 'sendemail.identity: --no-identity clears previous i
|
||||
grep "To: default@example.com" stdout
|
||||
'
|
||||
|
||||
test_expect_success $PREREQ 'sendemail.identity: bool identity variable existance overrides' '
|
||||
test_expect_success $PREREQ 'sendemail.identity: bool identity variable existence overrides' '
|
||||
git -c sendemail.identity=cloud \
|
||||
-c sendemail.xmailer=true \
|
||||
-c sendemail.cloud.xmailer=false \
|
||||
|
||||
@@ -275,7 +275,7 @@ $whitespace
|
||||
third note for first commit
|
||||
EXPECT_END
|
||||
|
||||
test_expect_success 'add concatentation notes with M command' '
|
||||
test_expect_success 'add concatenation notes with M command' '
|
||||
|
||||
git fast-import <input &&
|
||||
GIT_NOTES_REF=refs/notes/test git log | grep "^ " > actual &&
|
||||
|
||||
@@ -541,7 +541,7 @@ test_expect_success 'tree_tag' '
|
||||
|
||||
# NEEDSWORK: not just check return status, but validate the output
|
||||
# Note that these tests DO NOTHING other than print a warning that
|
||||
# they are ommitting the one tag we asked them to export (because the
|
||||
# they are omitting the one tag we asked them to export (because the
|
||||
# tags resolve to a tree). They exist just to make sure we do not
|
||||
# abort but instead just warn.
|
||||
test_expect_success 'tree_tag-obj' 'git fast-export tree_tag-obj'
|
||||
|
||||
@@ -407,7 +407,7 @@ test_expect_success 'reinit depot' '
|
||||
'
|
||||
|
||||
#
|
||||
# What happens when two files of the same name are overlayed together?
|
||||
# What happens when two files of the same name are overlaid together?
|
||||
# The last-listed file should take preference.
|
||||
#
|
||||
# //depot
|
||||
|
||||
@@ -378,7 +378,7 @@ test_expect_success '__gitdir - finds repo' '
|
||||
'
|
||||
|
||||
|
||||
test_expect_success '__gitdir - returns error when cant find repo' '
|
||||
test_expect_success '__gitdir - returns error when cannot find repo' '
|
||||
(
|
||||
__git_dir="non-existing" &&
|
||||
test_must_fail __gitdir >"$actual"
|
||||
@@ -945,7 +945,7 @@ test_expect_success 'setup for filtering matching refs' '
|
||||
rm -f .git/FETCH_HEAD
|
||||
'
|
||||
|
||||
test_expect_success '__git_refs - dont filter refs unless told so' '
|
||||
test_expect_success '__git_refs - do not filter refs unless told so' '
|
||||
cat >expected <<-EOF &&
|
||||
HEAD
|
||||
master
|
||||
@@ -1257,7 +1257,7 @@ test_path_completion ()
|
||||
# In the following tests calling this function we only
|
||||
# care about how __git_complete_index_file() deals with
|
||||
# unusual characters in path names. By requesting only
|
||||
# untracked files we dont have to bother adding any
|
||||
# untracked files we do not have to bother adding any
|
||||
# paths to the index in those tests.
|
||||
__git_complete_index_file --others &&
|
||||
print_comp
|
||||
|
||||
Reference in New Issue
Block a user