Skip to content

Conversation

neverpanic
Copy link
Contributor

This fixes a problem on platforms where git automatically defaults to
case-insensitive repositories (e.g. OS X and Windows), where case-only
renames would be simply ignored.

This would turn SVN changes such as https://trac.macports.org/changeset/153824/trunk/dports into empty Git commits when exported on an OS X machine.

This fixes a problem on platforms where git automatically defaults to
case-insensitive repositories (e.g. OS X and Windows), where case-only
renames would be simply ignored.
LudovicRousseau added a commit to LudovicRousseau/smartcardservices that referenced this pull request Nov 17, 2016
There was a bug svn-all-fast-export/svn2git#21
in the Subversion-to-Git conversion that did not correctly process
case-only renames. There appear to have been some case-only renames in
the history of the Subversion repository. As a consequence of this bug,
some files in the Git repository now have names with the wrong case, and
need to be renamed.

These files:

* SmartCardServices/src/PKCS11dotNetV2/application.cpp
* SmartCardServices/src/PKCS11dotNetV2/cardmoduleservice.cpp
* SmartCardServices/src/PKCS11dotNetV2/digest.cpp
* SmartCardServices/src/PKCS11dotNetV2/log.cpp
* SmartCardServices/src/PKCS11dotNetV2/pkcs11.cpp
* SmartCardServices/src/PKCS11dotNetV2/session.cpp
* SmartCardServices/src/PKCS11dotNetV2/slot.cpp
* SmartCardServices/src/PKCS11dotNetV2/template.cpp
* SmartCardServices/src/PKCS11dotNetV2/timer.cpp

Should be renamed to:

* SmartCardServices/src/PKCS11dotNetV2/Application.cpp
* SmartCardServices/src/PKCS11dotNetV2/CardModuleService.cpp
* SmartCardServices/src/PKCS11dotNetV2/Digest.cpp
* SmartCardServices/src/PKCS11dotNetV2/Log.cpp
* SmartCardServices/src/PKCS11dotNetV2/PKCS11.cpp
* SmartCardServices/src/PKCS11dotNetV2/Session.cpp
* SmartCardServices/src/PKCS11dotNetV2/Slot.cpp
* SmartCardServices/src/PKCS11dotNetV2/Template.cpp
* SmartCardServices/src/PKCS11dotNetV2/Timer.cpp

This problem affects master, but might also affect branches and tags.

Thanks to Ryan Schmidt for the bug report
"Wrong case of filenames in PKCS11dotNetV2"
smartcardservices#144
@tnyblom tnyblom merged commit c7864da into svn-all-fast-export:master Mar 17, 2017
@neverpanic neverpanic deleted the fix-case-export-on-osx branch March 7, 2018 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants