git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2 2/5] Documentation/Makefile: conditionally include ../GIT-VERSION-FILE

From
Ramsay Jones <ramsay@ramsayjones.plus.com>
Date
Dec 8, 2020, 22:23 UTC
Message-ID
<9cde91bf-8808-6110-b9ea-a3385225f0a2@ramsayjones.plus.com>
In-Reply-To
<CAMP44s3hCm_2=jRv-4knNWe+V5vR_+XWjHVFkVm_LNzJ+n1sDg@mail.gmail.com>
On 07/12/2020 03:21, Felipe Contreras wrote:
> On Sun, Dec 6, 2020 at 6:35 PM Ramsay Jones <ramsay@ramsayjones.plus.com> wrote:
[snip]
Show 10 quoted lines
>> Notice that the 'clean' target is making a nested call to the parent
>> Makefile to ensure that the GIT-VERSION-FILE is up-to-date (prior to
>> the previous patch, there would have been _two_ such invocations).
>> This is to ensure that the $(GIT_VERSION) make variable is set, once
>> that file had been included.  However, the 'clean' target does not use
>> the $(GIT_VERSION) variable, so this is wasted effort.
> 
> Yes, this is the important information: "the 'clean' target does not use
> the $(GIT_VERSION) variable". I would feature it at the start of the
> commit message.

Heh, I didn't intend to 'bury the lead' here. I spent about 30 minutes re-writing this message to come up with an improvement; I'm not sure that I succeeded. ;-)

v3 comming soon ...
Thanks!

ATB, Ramsay Jones

Previous: Felipe ContrerasNext: Junio C Hamano
Message 3 of 4 in “Documentation/Makefile: conditionally include ../GIT-VERSION-FILE”
  1. 2/5 Documentation/Makefile: conditionally include ../GIT-VERSION-FILERamsay Jones, Dec 7, 2020
  2. Felipe ContrerasDec 7, 2020
  3. Ramsay JonesDec 8, 2020
  4. Junio C HamanoDec 7, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.