pub fn prompt_select_commit(
header: Option<&str>,
initial_query: &str,
commits: Vec<Commit<'_>>,
commit_descriptors: &mut [&mut dyn NodeDescriptor],
) -> Result<Option<NonZeroOid>>
Expand description
Prompt the user to select a commit from the provided list of commits, and returns the OID of the selected commit.