From: Stas Sergeev Date: Mon, 24 Jul 2017 12:50:00 GMT Subject: Re: git gc seems to break --symbolic-full-name Message-ID: <47a657a1-422d-5947-87bb-8e5db5b8689b@list.ru> In-Reply-To: 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. :)