-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
When commiting a file with an apostrophe ’
as part of the filename, git ls-files
will return it as an escaped character:
This breaks our GitFilesystemHook
when a guest filepath already exists on the git, and should be removed from the self.to_remove_tree
dict
:
Line 372 in de3d473
self.logger.warning("Couldn't remove %s from old filesystem removal tree", relpath) |
For the moment we simply ignore these files, by detecting when a filepath returns by git ls-files
startswith an apostrophe
:
Line 329 in de3d473
for p in [Path(p) for p in self.repo.git.ls_files().split('\n') if not p.startswith("\"")]: |