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

Re: ab/make-bin-wrappers (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))

From
Jeff King <peff@peff.net>
Date
Nov 9, 2022, 14:04 UTC
Message-ID
<Y2uzWbl3M235Jlu+@coredump.intra.peff.net>
In-Reply-To
<Y2rPrNz6BD6DlRcO@nand.local>
On Tue, Nov 08, 2022 at 04:52:44PM -0500, Taylor Blau wrote:
Show 17 quoted lines
> > I don't have any strong opinion on that. I read the v2 cover letter, was
> > skeptical/confused of the motivation, and didn't go much further.
> >
> > Your explanation in the linked email is that there are _other_ reasons
> > to do this refactoring, but I don't have any knowledge there that would
> > add to the review. My gut is still that building bin-wrappers/foo
> > doesn't need to depend on foo, but if it's one line, I don't care that
> > much either way. If it was 50 lines of complicated Makefile refactoring,
> > then would probably not be worth it.
> 
> Isn't this topic exactly the latter? IOW:
> 
>     $ git diff --stat master...ab/make-bin-wrappers
>      Makefile | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------
>      1 file changed, 52 insertions(+), 20 deletions(-)
> 
> ...maybe that was exactly your point ;-).
Sorry, I perhaps could have made the last sentence more clear as:
  If it was 50 lines of complicated Makefile refactoring _just_ to have
  "make bin-wrappers/foo" depend on "foo", it would not be worth it. But
  if it is doing something else, it might be. I don't have a strong
  opinion because I haven't (and don't want to have) looked into that
  "something else".
-Peff
Previous: Taylor BlauNext: Ævar Arnfjörð Bjarmason
Message 10 of 18 in “What's cooking in git.git (Nov 2022, #01; Thu, 3)”
  1. Taylor BlauNov 4, 2022
  2. Philip OakleyNov 5, 2022
  3. Taylor BlauNov 5, 2022
  4. Philip OakleyNov 7, 2022
  5. Taylor BlauNov 8, 2022
  6. ab/config-multi-and-nonbool (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Nov 7, 2022
  7. ab/make-bin-wrappers (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Nov 7, 2022
  8. Jeff KingNov 8, 2022
  9. Taylor BlauNov 8, 2022
  10. Jeff KingNov 9, 2022
  11. ab/coccicheck-incremental (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Nov 7, 2022
  12. Taylor BlauNov 8, 2022
  13. ab/sha-makefile-doc (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Nov 7, 2022
  14. ab/submodule-helper-prep-only (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Nov 8, 2022
  15. Taylor BlauNov 8, 2022
  16. ab/cmake-nix-and-ci (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Nov 8, 2022
  17. Phillip WoodNov 8, 2022
  18. ab/misc-hook-submodule-run-command (was: What's cooking in git.git (Nov 2022, #01; Thu, 3))Ævar Arnfjörð Bjarmason, Nov 8, 2022

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.