reporting git error check message if there is any

This commit is contained in:
Robin Shen 2019-07-30 09:31:57 +08:00
parent ebbe345290
commit 3aedc8c78d
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ public abstract class GitCommand<V> {
private static final Logger logger = LoggerFactory.getLogger(GitCommand.class);
private static final String MIN_VERSION = "2.11.0";
private static final String MIN_VERSION = "1.8.0";
protected final File gitDir;

View File

@ -55,8 +55,8 @@ public abstract class AbstractGitTest extends AppLoaderMocker {
});
Assert.assertTrue(GitCommand.checkError("git") == null);
String gitError = GitCommand.checkError("git");
Assert.assertTrue(gitError, gitError == null);
}
@Override