docs(config): clarify git-commit tag variable (#4729)
The `git_commit` module uses a `tag` variable in its format string, which is not explained in the Variables section of this module. Missing clarification of this `tag` variable is added to the documentation of the `git_commit` module. Fixes starship/4640
This commit is contained in:
parent
aa6c2dd588
commit
0abf4b937e
|
@ -1642,8 +1642,9 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
|||
### Variables
|
||||
|
||||
| Variable | Example | Description |
|
||||
| -------- | --------- | ----------------------------------- |
|
||||
| -------- | --------- | -------------------------------------------- |
|
||||
| hash | `b703eb3` | The current git commit hash |
|
||||
| tag | `v1.0.0` | The tag name if showing tag info is enabled. |
|
||||
| style\* | | Mirrors the value of option `style` |
|
||||
|
||||
*: This variable can only be used as a part of a style string
|
||||
|
|
Loading…
Reference in New Issue