Browse Source

Merge branch 'stable-1.1'

* stable-1.1:
  Prepare post v1.1.0.201109151100-r build
  JGit v1.1.0.201109151100-r

Change-Id: I31a2e8d26d635ded9ea956a26ad9b2d9e20862a1
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-1.2
Matthias Sohn 13 years ago
parent
commit
05c7896919
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java

2
org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java

@ -597,7 +597,7 @@ public abstract class Repository {
return resolveAbbreviation(revstr); return resolveAbbreviation(revstr);
int dashg = revstr.indexOf("-g"); int dashg = revstr.indexOf("-g");
if (4 < revstr.length() && 0 <= dashg if ((dashg + 4) < revstr.length() && 0 <= dashg
&& isHex(revstr.charAt(dashg + 2)) && isHex(revstr.charAt(dashg + 2))
&& isHex(revstr.charAt(dashg + 3)) && isHex(revstr.charAt(dashg + 3))
&& isAllHex(revstr, dashg + 4)) { && isAllHex(revstr, dashg + 4)) {

Loading…
Cancel
Save