-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve handling of challenging file names when 'core.quotePath=true'
As described in issue #78 transcrypt could fail to properly handle: - file names with non-ASCII characters when Git's configuration option 'core.quotePath' is set to 'true' (as it is by default) - file names containing spaces This change improves handling of non-ASCII or space characters in filenames and adds a test to exercise and confirm the fix. Changes in particular: - fix handling of space characters in file name in pre-commit hook - override repository's 'core.quotePath' setting in commands that output paths to ensure 'core.quotePath=false' is always applied even when 'core.quotePath' is explicitly or implicitly (default) set to true.
- Loading branch information
Showing
5 changed files
with
58 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters