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

Re: [PATCH] contrib/credential: Amend and harmonize Makefiles

From
Thomas Uhle <thomas.uhle@mailbox.tu-dresden.de>
Date
Oct 11, 2025, 19:18 UTC
Message-ID
<a13ed806-a04f-baae-ffa2-f1d12a0b3b0b@mailbox.tu-dresden.de>
In-Reply-To
<xmqqikgl5nj3.fsf@gitster.g>
On Sat, 11 Oct 2025, Junio C Hamano wrote:
Show 5 quoted lines
> [...]  Please
> fetch from my 'seen' branch from any of the public mirrors, and
> check what is queued as ac6152f0 (contrib/credential: Amend and
> harmonize Makefiles, 2025-10-10) is what you expected me to have
> without your mailer corrupting the patch contents.
Yes, it is correct.
Show 9 quoted lines
> [...]  So it smells that viable choices are only three:
>
> * if the original did not use $(MAIN), leave them as-is and spell
>   the values (like "git-credential-osxkeychain") out.
>
> * if the original did use $(MAIN), leave them as-is, without rename
>   it to a longer and more typo-prone $(GIT_CREDENTIAL_HELPER).  Or
>
> * if the original did use $(MAIN), spell the values out instead.

So the combination of the first and last option seems best to not keep these differences within the same context (contrib/credential). Do you agree?

Show 6 quoted lines
> I prefer to do "clean-up" patches and "functional" patches
> separately, and introduction of the install target is the latter, so
> perhaps leave all the changes to Makefile macro trick out of this
> patch and concentrate only on the new "install" target?  And then do
> "clean-up" using Makefile macro if you want, with merit of such a
> change defended separately.

Doesn't it make sense to clean up first and then add the install target rule in another patch if you prefer to split this patch? That way I could keep the first line of the commit message intact and the name of the branch you have chosen would still match. Moreover, it seems to me that we are not that far from agreeing on a "clean-up" version.

> Thanks.
Thanks for your comprehensive feedback.
Best regards,
Thomas Uhle
Previous: Junio C HamanoNext: Thomas Uhle
Message 7 of 8 in “contrib/credential: Amend and harmonize Makefiles”
  1. contrib/credential: Amend and harmonize MakefilesThomas Uhle, Oct 10, 2025
  2. Junio C HamanoOct 10, 2025
  3. Thomas UhleOct 10, 2025
  4. Junio C HamanoOct 10, 2025
  5. Thomas UhleOct 11, 2025
  6. Junio C HamanoOct 11, 2025
  7. Thomas UhleOct 11, 2025
  8. contrib/credential: Amend and harmonize MakefilesThomas Uhle, Oct 20, 2025

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.