BrettMayson / HEMTT

Build System for Arma 3
https://brettmayson.github.io/HEMTT
GNU General Public License v2.0
109 stars 40 forks source link

Template Helper - Git #32

Closed jonpas closed 5 years ago

jonpas commented 5 years ago

Utility that retrieves current git commit hash:

Ref.: make.py

Should support retrieving it as truncated (to N characters) for use in configurable options.

BrettMayson commented 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.

jonpas commented 5 years ago

There is git2, will test it.