Re: git gc seems to break --symbolic-full-name
- From
- Stas Sergeev <stsp@list.ru>
- Date
- Jul 24, 2017, 12:50 UTC
- Message-ID
- <47a657a1-422d-5947-87bb-8e5db5b8689b@list.ru>
- In-Reply-To
- <CA+P7+xrpKTuBTueyGGVz4doWMnbGQo+2qj2wbpPvXBaW-iDV2w@mail.gmail.com>
24.07.2017 07:02, Jacob Keller пишет:
> generally, I'd suggest using "git describe" to output a version based > on tag, and as part of your build system set that in some sort of > --version output of some kind.
I am not sure I understand that suggestion. I can use 'git describe' (and that seems to be what linux kernel does too), but I don't see how can I get away without a temporary file, maually comparing current 'git describe' with the one stored, and updating that file in case of a mismatch. Could you please clarify? Maybe I am missing some makefile trick which you assume I am aware about. :)