added some info logging
This commit is contained in:
parent
2bcb6ff9e5
commit
0d6d1290b7
@ -78,7 +78,10 @@ public class LocalRepositoryCache {
|
||||
|
||||
if (this.logger.isDebugEnabled())
|
||||
this.logger.debug("cloning Git repository: " + url);
|
||||
return creds != null ? new CredentialedGit(clone, creds) : new CachedGit(clone);
|
||||
Git git = creds != null ? new CredentialedGit(clone, creds) : new CachedGit(clone);
|
||||
if (this.logger.isInfoEnabled())
|
||||
this.logger.info("Cloned Git Repository");
|
||||
return git;
|
||||
// git = creds != null ? new CredentialedGit(clone, creds) : new CachedGit(clone);
|
||||
// this.gitIdsToUrls.put(git.getRepository().getIdentifier(), url);
|
||||
// } else {
|
||||
@ -138,6 +141,9 @@ public class LocalRepositoryCache {
|
||||
this.logger.debug(ie.getMessage(), ie);
|
||||
workingTreeDir.deleteOnExit();
|
||||
}
|
||||
|
||||
if (this.logger.isInfoEnabled())
|
||||
this.logger.info("Deleted Git Repository");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user