Class FileHistoryGraph
java.lang.Object
io.github.jbastgen.stemma.app.graph.FileHistoryGraph
The parents of the commits in the history of one file (feature 46): the graph of a list that has only some of the commits would have lines
that run to commits that are not there. Here every commit points to the nearest commits of the list above it (its ancestors that
are in the list), as
git log --parents -- file rewrites them, so the lanes of the graph make sense.-
Method Summary
-
Method Details
-
parents
- Parameters:
all- the commits of the repository, newest firstkeep- the ids of the commits that are in the history of the file- Returns:
- for each commit of
keep(in the order ofall) its parents amongkeep
-