Function | git_revision |
Get the SHA-1 of the HEAD of a git repository. |
Function | has_extra_files |
Check whether a git repository has untracked files. |
Function | have_git |
Can we run the git executable? |
Function | is_dirty |
Check whether a git repository has uncommitted changes. |
Function | is_git_repo |
Is the given directory version-controlled with git? |
Parameters | |
dir:str | Undocumented |
Returns | |
bool | Undocumented |
Parameters | |
dir:str | Undocumented |
Returns | |
bool | Undocumented |