pub fn list_refs_local(repo: &Path) -> Result<RepoRefs>Expand description
Like list_refs, but for a repository operated on in place (a local checkout the
user pointed us at). It lists the repo’s local branch heads (git branch) rather than
remote-tracking refs (git branch -r), because a working repo’s branches of interest are
its local heads. Tags and recent commits are listed identically to list_refs.
§Errors
Returns an error if any underlying git command fails.