Skip to content

Commit eb06a18

Browse files
committed
Unpin Cygwin git; add our .git as a safe.directory
This undoes the change of pinning Git to an earlier version (before the recent security update) on Cygwin, and instead adds the `.git` subdirectory of the `GitPython` directory as an additional value of the multi-valued `safe.directory` Git configuration variable.
1 parent cf81c6c commit eb06a18

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: .github/workflows/cygwin-test.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Set up Cygwin
3131
uses: egor-tensin/setup-cygwin@v4
3232
with:
33-
packages: python39=3.9.16-1 python39-pip python39-virtualenv git=2.43.0-1
33+
packages: python39=3.9.16-1 python39-pip python39-virtualenv git
3434

3535
- name: Arrange for verbose output
3636
run: |
@@ -40,6 +40,7 @@ jobs:
4040
- name: Special configuration for Cygwin git
4141
run: |
4242
git config --global --add safe.directory "$(pwd)"
43+
git config --global --add safe.directory "$(pwd)/.git"
4344
git config --global core.autocrlf false
4445
4546
- name: Prepare this repo for tests

0 commit comments

Comments
 (0)