aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffFormatter.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffFormatter.java b/org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffFormatter.java
index dfd399dc43..8e92c8995c 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffFormatter.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffFormatter.java
@@ -600,8 +600,7 @@ public class DiffFormatter {
}
private static String quotePath(String name) {
- String q = QuotedString.GIT_PATH.quote(name);
- return ('"' + name + '"').equals(q) ? name : q;
+ return QuotedString.GIT_PATH.quote(name);
}
/**