You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed normalized paths bug that prevented copying class in IDE. Issue 8497.
If both repo and project paths were symlinks or network drive paths,
copying with refactoring caused exceptions to be thrown. Other actions
may have resulted in the same.
A normalized file path canNOT be passed into getIgnores because getIgnores
creates and executes a StatusCommand. Executing the StatusCommand passes
the repository and the source file. StatusCommand gets the repository path
by calling repository.getWorkTree(), which returns a non-normalized path.
If both the repository and the source file are referenced via a symlink or
network drive, referencing file paths via normalizing and non-normaling
causes file path mismatches.
The normalized file path points to another location on the system, but
repository.getWorkTree() will provide a non-normalized file path.
Signed-off-by: Hunter Schoonover <[email protected]>
0 commit comments