rise limit of reversion to >9999

pull/60/head
sixcooler 9 years ago
parent b71a60c04b
commit 5523998fdf

@ -87,7 +87,7 @@ public class GitRevMavenTask extends AbstractMojo {
break; break;
} }
} }
if (lastTag != null || distance++ > 999) { if (lastTag != null || distance++ > 90999) {
break; break;
} }
} }

@ -79,7 +79,7 @@ public class GitRevTask extends org.apache.tools.ant.Task {
break; break;
} }
} }
if (lastTag != null || distance++ > 999) break; if (lastTag != null || distance++ > 90999) break;
} }
walk.dispose(); walk.dispose();
if (lastTag == null) { if (lastTag == null) {

Loading…
Cancel
Save