Hi usegalaxy-eu team,
I tried to clone this repo with my macOS, so I can add myself to the team webpage :)
However I faced a path collision warning for two files inside the _events folder.
Summary
The repository appears to contain two files whose paths differ only by capitalisation
_events/2022-07-05-Community-Call.md
_events/2022-07-05-community-call.md
This causes a checkout warning and an unclean working tree on case-insensitive filesystems (default for macOS)
Reproduction
On macOS with a default case-insensitive filesystem:
git clone git@github.com:usegalaxy-eu/website.git
cd website
git status
git ls-files | grep -i '_events/2022-07-05-community-call.md'
ls -la _events | grep -i '2022-07-05.*community.*call'
Observed behavior
Git clone returns:
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:
'_events/2022-07-05-Community-Call.md'
'_events/2022-07-05-community-call.md'
After cloning, git status shows a modified file even though no changes were made:
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
modified: _events/2022-07-05-Community-Call.md
Expected behavior
The repository should be cloneable with macOS without any warnings about path collisions.
Suggested fix
Remove one of the colliding files
_events/2022-07-05-Community-Call.md
or
_events/2022-07-05-community-call.md
Environment
- OS: macOS
- Filesystem: default APFS, case-insensitive
- Branch:
master
Hi usegalaxy-eu team,
I tried to clone this repo with my macOS, so I can add myself to the team webpage :)
However I faced a path collision warning for two files inside the
_eventsfolder.Summary
The repository appears to contain two files whose paths differ only by capitalisation
This causes a checkout warning and an unclean working tree on case-insensitive filesystems (default for macOS)
Reproduction
On macOS with a default case-insensitive filesystem:
Observed behavior
Git clone returns:
After cloning,
git statusshows a modified file even though no changes were made:Expected behavior
The repository should be cloneable with macOS without any warnings about path collisions.
Suggested fix
Remove one of the colliding files
_events/2022-07-05-Community-Call.mdor
_events/2022-07-05-community-call.mdEnvironment
master