Commits

Sebastian Sdorra committed c5572ba

use getName method for logging git ids

  • Participants
  • Parent commits dc6a62f
  • Branches issue-242

Comments (0)

Files changed (1)

File scm-plugins/scm-git-plugin/src/main/java/sonia/scm/repository/GitChangesetConverter.java

       {
         if (logger.isTraceEnabled())
         {
-          logger.trace("no parent tree at position 0 for commit {}", commit);
+          logger.trace("no parent tree at position 0 for commit {}",
+            commit.getName());
         }
 
         treeWalk.addTree(new EmptyTreeIterator());
     {
       if (logger.isTraceEnabled())
       {
-        logger.trace("no parent available for commit {}", commit);
+        logger.trace("no parent available for commit {}", commit.getName());
       }
 
       treeWalk.addTree(new EmptyTreeIterator());