Module git_info

Module git_info 

Source

Structs§

GitDiffToRemote
GitInfo

Functions§

collect_git_info
Collect git repository information from the given working directory using command-line git. Returns None if no git repository is found or if git operations fail. Uses timeouts to prevent freezing on large repositories. All git commands (except the initial repo check) run in parallel for better performance.
git_diff_to_remote
Returns the closest git sha to HEAD that is on a remote as well as the diff to that sha.