void () { LOG.debug("Logging .git/refs files. " + ".git/refs/heads " + (myRefsHeadsDir.exists() ? "exists" : "doesn't exist") + ".git/refs/remotes " + (myRefsRemotesDir.exists() ? "exists" : "doesn't exist")); if (LOG.isDebugEnabled()) { logDebugAllFilesIn(myRefsHeadsDir); logDebugAllFilesIn(myRefsRemotesDir); if (myPackedRefsFile.exists()) { try { LOG.debug("packed-refs file content: [\n" + FileUtil.loadFile(myPackedRefsFile) + "\n]"); } catch (IOException e) { LOG.debug("Couldn't load the file " + myPackedRefsFile, e); } } else { LOG.debug("The file " + myPackedRefsFile + " doesn't exist."); } } }