MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / collect_commit_oids_from_tip

Method collect_commit_oids_from_tip

atomic-cli/src/commands/git/parallel.rs:5112–5118  ·  view source on GitHub ↗

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,
    )

Source from the content-addressed store, hash-verified

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,

Calls 1

Tested by

no test coverage detected