Module git_interop

Module git_interop 

Source

Structs§

ReadBranchGuard
Guard for a temporary read branch that includes all pending writes. Automatically cleans up the temporary reference when dropped.

Functions§

add_note_line_to_head
check_git_version
create_consolidated_read_branch
Creates a temporary read branch that consolidates all pending writes. The returned guard must be kept alive for as long as the reference is needed. The temporary reference is automatically cleaned up when the guard is dropped.
get_head_revision
get_repository_root
Get the repository root directory using git
is_shallow_repository
Check if the current repository is a shallow clone
list_commits_with_measurements
Returns a list of all commit SHA-1 hashes that have performance measurements in the refs/notes/perf-v3 branch.
prune
pull
push
remove_measurements_from_commits
walk_commits