Commit 0d6d1290 authored by Brian Long's avatar Brian Long
Browse files

added some info logging

parent 2bcb6ff9
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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");
	}