Skip to content
Permalink
Browse files
webrev: follow files for commits.json
Reviewed-by: rwestberg
  • Loading branch information
edvbld committed Aug 25, 2020
1 parent 05d9d69 commit 5459a0b41d30453363478a061bac94da124f99e4
Showing with 1 addition and 1 deletion.
  1. +1 −1 webrev/src/main/java/org/openjdk/skara/webrev/Webrev.java
@@ -278,7 +278,7 @@ private void generateJSON(Diff diff, Hash tailEnd, Hash head) throws IOException
file.put("patch", sb.toString());
}
files.add(file);
var commits = repository.commitMetadata(tailEnd, head, List.of(filename));
var commits = repository.follow(filename, tailEnd, head);
for (var commit : commits) {
if (!pathsPerCommit.containsKey(commit.hash())) {
pathsPerCommit.put(commit.hash(), new ArrayList<Path>());

1 comment on commit 5459a0b

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on 5459a0b Aug 25, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.