mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-26 20:16:33 +00:00
Include git hash in bat -V and bat --version output if present
I had to use a `lazy_static` due to that the clap API that only accepts a reference to a version string. And, in our code, only a 'static reference to a version string. Code could probably be refactored to accept a "normal" reference, but that would be a major undertaking.
This commit is contained in:
1 parent
dde770aa21
commit
4081ace4b9
2 files changed
+17
-1
No files matched your search
@@ -20,6 +20,7 @@
|
||||
|
||||
- Add PowerShell completion, see #1826 (@rashil2000)
|
||||
- Minimum supported Rust version (MSRV) bumped to 1.46
|
||||
- Include git hash in `bat -V` and `bat --version` output if present. See #1921 (@Enselic)
|
||||
|
||||
## Syntaxes
|
||||
|
||||
|
||||
Reference in new issue
Block a user