Closed jonpas closed 5 years ago
I would rather look at using a git library for rust. Preferable one that has parity support for both Windows and Linux. This will make expanded HEMTT interaction with git easier in the future and will potentially provide more stability than a solution we create ourselves.
Utility that retrieves current git commit hash:
git
binary if available.git
folder if availableRef.: make.py
Should support retrieving it as truncated (to N characters) for use in configurable options.