mod_git_info¶
Dependencies¶
Used By
Derived Types Summary¶
| Name | Description |
|---|---|
GitInfo |
Type to store information about the state of the git repository during the compilation of... |
Derived Types Details¶
type GitInfo¶
Type to store information about the state of the git repository during the compilation of the program.
Supposed to be used by modules who want to provide information
about the state of the git repository during the compilation of the
program during the compilation of the program. The actual
information is provided by the submodule smod_git_info, which
is autogenerated during the build process.
Components
-
info: integer -
repo_dirty: integer -
commit: character– Full SHA-1 hash of the commit -
branch: character– Name of the branch -
date: character– Date of the commit. Format: "YYYY-MM-DD hh:mm:ss +hhmm" -
info_msg: character– If info == 0: Built from a git repository. If info == 1: N/A (Not built from a git repository.) If info == 127: N/A (git command not working.) -
status_porcelain: character– Long string containing information about the state of the repository (modified, added, removed, untracked files, etc.)