You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the equivalent of merge-base --independent (boils down to remove_redundant())
TODO
assure commit-graphs aren't used if grafts are present (like in shallow clones), or if object-replacements are active.
Open Questions:
How should the api look? Something like this?
implCommit{fnis_descendant(list:Vec<Id>) -> bool;}implRepository{/// Return the first found common ancestorfnmerge_base_first(one:Id,twos:Vec<Id>) -> Result<Option<Id>,Error>;/// Return the first least common ancestorfnmerge_base(one:Id,twos:Vec<Id>) -> Result<Vec<Id>,Error>;}
Should provide:
a
&b
check ifb
is ancestor ofa
n
commits, find the first common ancestorn
commits, find their LCAmerge-base --independent
(boils down toremove_redundant()
)TODO
Open Questions:
Further reading:
The text was updated successfully, but these errors were encountered: