mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-06 21:45:43 +01:00
fix wrong file modifications on git changeset overview
This commit is contained in:
@@ -102,13 +102,18 @@ public class GitChangesetConverter implements Closeable
|
||||
RevWalk revWalk, int idLength)
|
||||
{
|
||||
this.repository = repository;
|
||||
this.idLength = idLength;
|
||||
|
||||
if (revWalk == null)
|
||||
if (revWalk != null)
|
||||
{
|
||||
revWalk = new RevWalk(repository);
|
||||
this.revWalk = revWalk;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
this.revWalk = new RevWalk(repository);
|
||||
}
|
||||
|
||||
this.idLength = idLength;
|
||||
this.tags = GitUtil.createTagMap(repository, revWalk);
|
||||
treeWalk = new TreeWalk(repository);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user