Skip to main content

git_head_commit

Function git_head_commit 

Source
pub fn git_head_commit(worktree_path: &Path) -> Result<String, GitError>
Expand description

Resolves the abbreviated HEAD commit hash for a worktree.