merge(3p/git): Merge git subtree at v2.29.2
This also bumps the stable nixpkgs to 20.09 as of 2020-11-21, because there is some breakage in the git build related to the netrc credentials helper which someone has taken care of in nixpkgs. The stable channel is not used for anything other than git, so this should be fine. Change-Id: I3575a19dab09e1e9556cf8231d717de9890484fb
This commit is contained in:
parent
082c006c04
commit
f4609b896f
1485 changed files with 241535 additions and 109418 deletions
18
third_party/git/t/t0020-crlf.sh
vendored
18
third_party/git/t/t0020-crlf.sh
vendored
|
|
@ -159,8 +159,8 @@ test_expect_success 'checkout with autocrlf=input' '
|
|||
rm -f tmp one dir/two three &&
|
||||
git config core.autocrlf input &&
|
||||
git read-tree --reset -u HEAD &&
|
||||
test_must_fail has_cr one &&
|
||||
test_must_fail has_cr dir/two &&
|
||||
! has_cr one &&
|
||||
! has_cr dir/two &&
|
||||
git update-index -- one dir/two &&
|
||||
test "$one" = $(git hash-object --stdin <one) &&
|
||||
test "$two" = $(git hash-object --stdin <dir/two) &&
|
||||
|
|
@ -237,9 +237,9 @@ test_expect_success '.gitattributes says two is binary' '
|
|||
git config core.autocrlf true &&
|
||||
git read-tree --reset -u HEAD &&
|
||||
|
||||
test_must_fail has_cr dir/two &&
|
||||
! has_cr dir/two &&
|
||||
verbose has_cr one &&
|
||||
test_must_fail has_cr three
|
||||
! has_cr three
|
||||
'
|
||||
|
||||
test_expect_success '.gitattributes says two is input' '
|
||||
|
|
@ -248,7 +248,7 @@ test_expect_success '.gitattributes says two is input' '
|
|||
echo "two crlf=input" >.gitattributes &&
|
||||
git read-tree --reset -u HEAD &&
|
||||
|
||||
test_must_fail has_cr dir/two
|
||||
! has_cr dir/two
|
||||
'
|
||||
|
||||
test_expect_success '.gitattributes says two and three are text' '
|
||||
|
|
@ -270,7 +270,7 @@ test_expect_success 'in-tree .gitattributes (1)' '
|
|||
rm -rf tmp one dir .gitattributes patch.file three &&
|
||||
git read-tree --reset -u HEAD &&
|
||||
|
||||
test_must_fail has_cr one &&
|
||||
! has_cr one &&
|
||||
verbose has_cr three
|
||||
'
|
||||
|
||||
|
|
@ -280,7 +280,7 @@ test_expect_success 'in-tree .gitattributes (2)' '
|
|||
git read-tree --reset HEAD &&
|
||||
git checkout-index -f -q -u -a &&
|
||||
|
||||
test_must_fail has_cr one &&
|
||||
! has_cr one &&
|
||||
verbose has_cr three
|
||||
'
|
||||
|
||||
|
|
@ -291,7 +291,7 @@ test_expect_success 'in-tree .gitattributes (3)' '
|
|||
git checkout-index -u .gitattributes &&
|
||||
git checkout-index -u one dir/two three &&
|
||||
|
||||
test_must_fail has_cr one &&
|
||||
! has_cr one &&
|
||||
verbose has_cr three
|
||||
'
|
||||
|
||||
|
|
@ -302,7 +302,7 @@ test_expect_success 'in-tree .gitattributes (4)' '
|
|||
git checkout-index -u one dir/two three &&
|
||||
git checkout-index -u .gitattributes &&
|
||||
|
||||
test_must_fail has_cr one &&
|
||||
! has_cr one &&
|
||||
verbose has_cr three
|
||||
'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue