Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christian Dietrich
clang-hash
Commits
49fffe49
Commit
49fffe49
authored
Jan 26, 2017
by
Christian Dietrich
Browse files
experiment/historical: use topological order
parent
41f3e5a5
Pipeline
#3055
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
experiments/historical_build.py
View file @
49fffe49
...
...
@@ -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
:]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment