Skip to content
Permalink
Browse files
Fixed a windows bug caused by unneeded escaping of curly brackets.
This is related to a reported bug https://issues.jenkins-ci.org/browse/JENKINS-13007
  • Loading branch information
Ilari Mäkimattila committed Jun 12, 2012
1 parent d8e3ce6 commit 3de8e933225d7cc5369193866cde6d585621a0a3
Showing 1 changed file with 1 addition and 1 deletion.
@@ -257,7 +257,7 @@ public void clean() throws GitException {
}

public ObjectId revParse(String revName) throws GitException {
String rpCommit = Functions.isWindows() ? "^^\\{commit\\}" : "^{commit}";
String rpCommit = Functions.isWindows() ? "^^{commit}" : "^{commit}";
String result = launchCommand("rev-parse", revName + rpCommit);
return ObjectId.fromString(firstLine(result).trim());
}

0 comments on commit 3de8e93

Please sign in to comment.