-
-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Name collision which renders repo formally broken and causes several side effects #1595
Comments
Thanks for the thorough analysis and report of this problem, @ink-splatters! 🙏 Besides fixing the file, should we set this Git configuration you show above (without Lines 58 to 69 in ae49a49
|
@sisp hi, thanks! No, actually you'd be just fine once the repo has been fixed (which is what I hope my PR does). It's good to have this config as part of your dev environment so that if another file with name containing diacritics comes in, git would encode it consistently across platforms. As for |
That why I was thinking to add it to the Nix environment initialization, so everybody using Nix to contribute to this project will have those settings. |
Sounds like an idea! Let me get back to you early next week |
Describe the problem
What
Two versions of
tests/demo/doc/mañana.txt
existed in the repository at the same time, each of them with unique filename.This was possible because of git ill-formed approach to utilize filesystem-dependent filename representations by default: likely, the mentioned file was added twice: both on Linux and macOS and due to filename encoding differences between the systems git permitted it.
This default can be changed on macOS using:
and if followed by re-adding affected files, results in fixing the issue.
Affected software
the mentioned software was installed from
nixpkgs
rev355cbc482f33f5b07a6bc0d72be862b1ccdb99dd
git version 2.44.0
minor:
gitoxide:
gix 0.35.0
nix (Nix) 2.21.2
with flakes enabledTemplate
N/A
To Reproduce
Besides what's been already described, please see aggregated versions info below.
Also see pinned versions in your
flake.lock
Logs
Expected behavior
it should not happen :)
Screenshots/screencasts/logs
No response
Operating system
macOS
Operating system distribution and version
14.4.1
Copier version
used
nix
installation instructions from copier current master branch (ae49a4
)Python version
N/A
Installation method
pipx+pypi
Additional context
nix flakes (not in the list)
The text was updated successfully, but these errors were encountered: