Commit 49fffe49 authored by Christian Dietrich's avatar Christian Dietrich
Browse files

experiment/historical: use topological order

parent 41f3e5a5
Pipeline #3055 passed with stage
in 0 seconds
......@@ -47,7 +47,7 @@ class HistoricalCompilation(Experiment, ClangHashHelper):
'builds': []}
with self.project as src_path:
(commits, _) = shell("cd %s; git log --oneline", src_path)
(commits, _) = shell("cd %s; git log --oneline --topo-order", src_path)
commits = [x.split(" ", 1) for x in reversed(commits)]
commits = commits[-self.commits.value:]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment