Re: [PATCH] contrib/persistent-https: update ldflags syntax for Go 1.7+
- From
Shawn Pearce <spearce@spearce.org>
- Date
- Jul 19, 2016, 04:49 UTC
- Message-ID
- <CAJo=hJviMd3tWe_HUmh0M0Y2TOCwwrZX14hdyivPSYQ1ck052w@mail.gmail.com>
- In-Reply-To
- <CAOiOGAfysmjBxcK-VwscLWBdun4rNsRs85p=foBxETvQw0J1Jw@mail.gmail.com>
On Mon, Jul 18, 2016 at 9:32 PM, Parker Moore <parkrmoore@gmail.com> wrote:
Show 7 quoted lines
>> The label does not even identify the version of the source in any way, so I am not sure how people are depending on that feature anyway ;-) > > Would it be a better solution simply to remove this build flag? > Alternatively, if Git wished to support Go v1.5 and below, I would be > more than happy to send a patch with a dynamic lookup in the Makefile > based on the output of `go version`. I would be more than happy to > submit either patch.
I think we could remove that BUILD_LABEL entirely. Colby liked having a marker so he knows what "version" a user is running, but without any correlation to source here it just isn't that useful.