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

Re: [PATCH] help.c: Pull cmd_version out of this file.

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Sep 2, 2010, 04:35 UTC
Message-ID
<20100902043500.GF29713@burratino>
In-Reply-To
<AANLkTinHJHzcoFFjv-TaQ+DYVyqn46fqA802m8Lq5anp@mail.gmail.com>
Thiago Farina wrote:
> All patches should just fix real problems?
Yes.
> I think it just makes more sense, since *all* other commands are in
> builtin/ and it's own files.
I was careless before and was not even thinking about
 BUILT_INS += $(patsubst builtin/%.o,git-%$X,$(BUILTIN_OBJS))
Sorry.

With that line in mind, what Junio wrote in the "what's cooking" message makes a lot of sense. A good direction to go in long term might be to freeze the list of built-ins installed to $gitexecdir in some clean way and avoid adding new ones.

Would you be interested in working on that? That would solve a problem (turning back the tide of scripts that use git- commands, without breaking compatibility) that some people are interested in. The hardest part would probably be to make sure commands like "git help version" work properly.

Previous: Thiago FarinaNext: Junio C Hamano
Message 11 of 18 in “help.c: Pull cmd_version out of this file.”
  1. help.c: Pull cmd_version out of this file.Thiago Farina, Aug 29, 2010
  2. Jonathan NiederAug 30, 2010
  3. Jonathan NiederAug 30, 2010
  4. Thiago FarinaSep 1, 2010
  5. Nguyen Thai Ngoc DuySep 1, 2010
  6. Thiago FarinaSep 1, 2010
  7. Junio C HamanoSep 1, 2010
  8. Thiago FarinaSep 1, 2010
  9. Junio C HamanoSep 2, 2010
  10. Thiago FarinaSep 2, 2010
  11. Jonathan NiederSep 2, 2010
  12. Junio C HamanoSep 2, 2010
  13. Thiago FarinaOct 27, 2010
  14. Jonathan NiederOct 27, 2010
  15. Thiago FarinaOct 27, 2010
  16. Jonathan NiederOct 27, 2010
  17. Thiago FarinaOct 28, 2010
  18. Jonathan NiederOct 28, 2010

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.