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
8
third_party/git/t/t9903-bash-prompt.sh
vendored
8
third_party/git/t/t9903-bash-prompt.sh
vendored
|
|
@ -163,7 +163,7 @@ test_expect_success 'prompt - inside bare repository' '
|
|||
'
|
||||
|
||||
test_expect_success 'prompt - interactive rebase' '
|
||||
printf " (b1|REBASE-i 2/3)" >expected &&
|
||||
printf " (b1|REBASE 2/3)" >expected &&
|
||||
write_script fake_editor.sh <<-\EOF &&
|
||||
echo "exec echo" >"$1"
|
||||
echo "edit $(git log -1 --format="%h")" >>"$1"
|
||||
|
|
@ -180,7 +180,7 @@ test_expect_success 'prompt - interactive rebase' '
|
|||
'
|
||||
|
||||
test_expect_success 'prompt - rebase merge' '
|
||||
printf " (b2|REBASE-i 1/3)" >expected &&
|
||||
printf " (b2|REBASE 1/3)" >expected &&
|
||||
git checkout b2 &&
|
||||
test_when_finished "git checkout master" &&
|
||||
test_must_fail git rebase --merge b1 b2 &&
|
||||
|
|
@ -189,11 +189,11 @@ test_expect_success 'prompt - rebase merge' '
|
|||
test_cmp expected "$actual"
|
||||
'
|
||||
|
||||
test_expect_success 'prompt - rebase' '
|
||||
test_expect_success 'prompt - rebase am' '
|
||||
printf " (b2|REBASE 1/3)" >expected &&
|
||||
git checkout b2 &&
|
||||
test_when_finished "git checkout master" &&
|
||||
test_must_fail git rebase b1 b2 &&
|
||||
test_must_fail git rebase --apply b1 b2 &&
|
||||
test_when_finished "git rebase --abort" &&
|
||||
__git_ps1 >"$actual" &&
|
||||
test_cmp expected "$actual"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue