Collect the commit closure behind an explicit tip instead of a branch reference (§7.5 detached-HEAD adoption: the commit exists without a local branch, and inventing refs is never an import side effect).
(
&self,
git_repo: &GitRepository,
tip: Oid,
)
| 5110 | /// reference (§7.5 detached-HEAD adoption: the commit exists without a |
| 5111 | /// local branch, and inventing refs is never an import side effect). |
| 5112 | pub(crate) fn collect_commit_oids_from_tip( |
| 5113 | &self, |
| 5114 | git_repo: &GitRepository, |
| 5115 | tip: Oid, |
| 5116 | ) -> CliResult<Vec<Oid>> { |
| 5117 | self.collect_commit_oids_from_target(git_repo, tip) |
| 5118 | } |
| 5119 | |
| 5120 | fn collect_commit_oids_from_target( |
| 5121 | &self, |
no test coverage detected