GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge pull request #2156 from EliahKagan/claude/cygwin-safe-directory… · gitpython-developers/GitPython@da05ac6

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • alpine-test.yml
    • cygwin-test.yml
    • pythonpackage.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/alpine-test.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/alpine-test.yml
+3-5Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,15 @@ jobs:
6363
6464
- name: Show POSIX file ownership
6565
run: |
66-
for p in \
66+
ls -ld -- \
6767
"$(pwd)" \
6868
"$(pwd)/.git" \
6969
"$(pwd)/git/ext/gitdb" \
7070
"$(pwd)/git/ext/gitdb/.git" \
7171
"$(pwd)/git/ext/gitdb/gitdb/ext/smmap" \
7272
"$(pwd)/git/ext/gitdb/gitdb/ext/smmap/.git" \
73-
"${HOME:?HOME is not set}/.gitconfig"
74-
do
75-
ls -ld -- "$p" 2>/dev/null || echo "(missing: $p)"
76-
done
73+
"${HOME:?HOME is not set}/.gitconfig" \
74+
2>&1 || true
7775
7876
- name: Show safe.directory entries
7977
# `actions/checkout`'s safe.directory add is only durable for the
Collapse file

‎.github/workflows/cygwin-test.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/cygwin-test.yml
+3-5Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
# `is_path_owned_by_current_user` reduces to, so this is the view that
9090
# determines whether `safe.directory` is consulted.
9191
run: |
92-
for p in \
92+
ls -ld -- \
9393
"$(pwd)" \
9494
"$(pwd)/.git" \
9595
"$(pwd)/git/ext/gitdb" \
@@ -98,10 +98,8 @@ jobs:
9898
"$(pwd)/git/ext/gitdb/gitdb/ext/smmap" \
9999
"$(pwd)/git/ext/gitdb/gitdb/ext/smmap/.git" \
100100
"$(pwd)/.git/modules/gitdb/modules/smmap" \
101-
"${HOME:?HOME is not set}/.gitconfig"
102-
do
103-
ls -ld -- "$p" 2>/dev/null || echo "(missing: $p)"
104-
done
101+
"${HOME:?HOME is not set}/.gitconfig" \
102+
2>&1 || true
105103
106104
- name: Show NTFS file ownership
107105
# Authoritative NTFS Owner via Get-Acl, with no Cygwin SID-to-uid layer
Collapse file

‎.github/workflows/pythonpackage.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/pythonpackage.yml
+3-5Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,17 +94,15 @@ jobs:
9494
# not be informative here. The NTFS Owner check below covers Windows.
9595
if: matrix.os-type != 'windows'
9696
run: |
97-
for p in \
97+
ls -ld -- \
9898
"$(pwd)" \
9999
"$(pwd)/.git" \
100100
"$(pwd)/git/ext/gitdb" \
101101
"$(pwd)/git/ext/gitdb/.git" \
102102
"$(pwd)/git/ext/gitdb/gitdb/ext/smmap" \
103103
"$(pwd)/git/ext/gitdb/gitdb/ext/smmap/.git" \
104-
"${HOME:?HOME is not set}/.gitconfig"
105-
do
106-
ls -ld -- "$p" 2>/dev/null || echo "(missing: $p)"
107-
done
104+
"${HOME:?HOME is not set}/.gitconfig" \
105+
2>&1 || true
108106
109107
- name: Show NTFS file ownership
110108
# Windows only. Reads NTFS Owner directly via Get-Acl, which is the

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.