Skip to content

Commit

Permalink
0001563: View Staging Area Screen doesn't work on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Feb 5, 2014
1 parent 7907304 commit 98d5b6e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -77,7 +77,7 @@ public StagedResource(long threshold, File directory, File file, StagingManager
this.stagingManager = stagingManager;
this.file = file;
this.path = file.getAbsolutePath();
this.path = this.path.replaceAll("\\", "/");
this.path = this.path.replaceAll("\\\\", "/");
this.path = this.path.substring(directory.getAbsolutePath().length(), file
.getAbsolutePath().length());
this.path = this.path.substring(1, path.lastIndexOf("."));
Expand Down

0 comments on commit 98d5b6e

Please sign in to comment.