Skip to content

Commit df41e44

Browse files
StanFromIrelandmiss-islington
authored andcommitted
[3.14] gh-151365: Revert temporary Git downgrade (GH-156584) (GH-156599)
Revert "gh-151365: Temporarily downgrade Git to prevent fatal error (GH-155495)" (cherry picked from commit da06c4c) Co-authored-by: Stan Ulbrych <stan@python.org> This reverts commit 6d2b551. (cherry picked from commit 3e9efe5)
1 parent a5bfd96 commit df41e44

2 files changed

Lines changed: 0 additions & 17 deletions

File tree

.github/workflows/reusable-context.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,6 @@ jobs:
6666
|| ''
6767
}}
6868
69-
- name: 'Downgrade Git'
70-
# Temporarily downgrade to 2.43 until 2.55 is in the runner image,
71-
# to avoid "fatal: shallow file has changed since we read it" bug.
72-
# See https://github.com/python/cpython/issues/151365.
73-
if: github.event_name == 'pull_request'
74-
run: |
75-
sudo apt-get install -y --allow-downgrades 'git=1:2.43.*' 'git-man=1:2.43.*'
76-
git --version
77-
7869
# Adapted from https://github.com/actions/checkout/issues/520#issuecomment-1167205721
7970
- name: Fetch commits to get branch diff
8071
if: github.event_name == 'pull_request'

.github/workflows/reusable-docs.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,6 @@ jobs:
3333
&& github.event.pull_request.head.sha
3434
|| ''
3535
}}
36-
- name: 'Downgrade Git'
37-
# Temporarily downgrade to 2.43 until 2.55 is in the runner image,
38-
# to avoid "fatal: shallow file has changed since we read it" bug.
39-
# See https://github.com/python/cpython/issues/151365.
40-
if: github.event_name == 'pull_request'
41-
run: |
42-
sudo apt-get install -y --allow-downgrades 'git=1:2.43.*' 'git-man=1:2.43.*'
43-
git --version
4436
# Adapted from https://github.com/actions/checkout/issues/520#issuecomment-1167205721
4537
- name: 'Fetch commits to get branch diff'
4638
if: github.event_name == 'pull_request'

0 commit comments

Comments
 (0)