Skip to content

loose: rename only if needed #52

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

Merged
merged 1 commit into from
Sep 28, 2019
Merged

Conversation

efiop
Copy link
Contributor

@efiop efiop commented Sep 25, 2019

Our user was experiencing issue [1] when using a git repository on NTFS mount
running on Linux. The current check checks if we are running on Windows, but
it should really check if we are on NTFS. And since checking fs type is not
that trivial and not efficient, it is simpler and better to just always apply
NTFS-specific logic, since it works on other filesystems as well.

[1] iterative/dvc#1880 (comment)

Our user was experiencing issue [1] when using a git repository on NTFS mount
running on Linux. The current check checks if we are running on Windows, but
it should really check if we are on NTFS. And since checking fs type is not
that trivial and not efficient, it is simpler and better to just always apply
NTFS-specific logic, since it works on other filesystems as well.

[1] iterative/dvc#1880 (comment)
@villasv
Copy link

villasv commented Sep 27, 2019

Just here to provide additional detail. This issue is very critical for WSL users interacting with NTFS through bash, and is a very common scenario.

@Byron Byron added this to the v2.0.4 - Bugfixes milestone Sep 28, 2019
@Byron Byron merged commit cd79e2a into gitpython-developers:master Sep 28, 2019
@Byron
Copy link
Member

Byron commented Sep 28, 2019

Thanks a lot for your contribution!
I will probably manage to get a new release of GitDB and GitPython out this weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants