Re: [PATCH] Makefile: don't hardcode HEAD in dist target
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 2, 2014, 20:27 UTC
- Message-ID
- <xmqqd2er3vml.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <20140602193419.GA10198@spirit>
Dennis Kaarsemaker <dennis@kaarsemaker.net> writes:
> I'd say it would make the consistency better, because now both look at > what is checked out instead of at HEAD.
The version with your patch does not even look at HEAD; it looks at whatever GIT_VERSION points at, which could be a very different version that does not have anything to do with what is checked out Can't GIT_VERSION come from ./version file, for example?