|
|
@ -197,8 +197,9 @@ class Log extends RevWalkTextBuiltin { |
|
|
|
diffFmt.setRepository(db); |
|
|
|
diffFmt.setRepository(db); |
|
|
|
try { |
|
|
|
try { |
|
|
|
diffFmt.setPathFilter(pathFilter); |
|
|
|
diffFmt.setPathFilter(pathFilter); |
|
|
|
if (detectRenames != null) |
|
|
|
if (detectRenames != null) { |
|
|
|
diffFmt.setDetectRenames(detectRenames.booleanValue()); |
|
|
|
diffFmt.setDetectRenames(detectRenames.booleanValue()); |
|
|
|
|
|
|
|
} |
|
|
|
if (renameLimit != null && diffFmt.isDetectRenames()) { |
|
|
|
if (renameLimit != null && diffFmt.isDetectRenames()) { |
|
|
|
RenameDetector rd = diffFmt.getRenameDetector(); |
|
|
|
RenameDetector rd = diffFmt.getRenameDetector(); |
|
|
|
rd.setRenameLimit(renameLimit.intValue()); |
|
|
|
rd.setRenameLimit(renameLimit.intValue()); |
|
|
@ -220,10 +221,10 @@ class Log extends RevWalkTextBuiltin { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (decorate) |
|
|
|
if (decorate) { |
|
|
|
allRefsByPeeledObjectId = getRepository() |
|
|
|
allRefsByPeeledObjectId = getRepository() |
|
|
|
.getAllRefsByPeeledObjectId(); |
|
|
|
.getAllRefsByPeeledObjectId(); |
|
|
|
|
|
|
|
} |
|
|
|
super.run(); |
|
|
|
super.run(); |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
throw die(e.getMessage(), e); |
|
|
|
throw die(e.getMessage(), e); |
|
|
|