File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,10 @@ def make_elision(boring_commits, interesting_commit)
235
235
if boring_commits . length == 1
236
236
make_node ( boring_commits [ 0 ] , { } , "elide." )
237
237
else
238
- rangeids = smaller fixed "#{ id_for ( boring_commits . first ) } ..#{ id_for ( boring_commits . last ) } "
238
+ # since we're traversing backwards in time by following parent links,
239
+ # the boring_commits list is in reverse chronological order
240
+ # (see issue 2)
241
+ rangeids = smaller fixed "#{ id_for ( boring_commits . last ) } ..#{ id_for ( boring_commits . first ) } "
239
242
rangedesc = small "#{ boring_commits . size } commits"
240
243
fill = "style=filled fillcolor=gray75"
241
244
puts "\" elide.#{ boring_commits . first . id } \" [label=<<font>#{ rangedesc } <br/>#{ rangeids } </font>> #{ fill } ];"
You can’t perform that action at this time.
0 commit comments