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

Re: What's cooking in git.git (Jul 2009, #01; Mon, 06)

From
Stephen Boyd <bebarino@gmail.com>
Date
Jul 8, 2009, 05:39 UTC
Message-ID
<4A543116.8050507@gmail.com>
In-Reply-To
<7vk52l4q7k.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
Show 6 quoted lines
> For the following three series, I have not managed to convince myself if
> these changes have real-world needs.
>
> * sb/read-tree (Thu Jun 25 22:14:10 2009 -0700) 2 commits
>  - read-tree: migrate to parse-options
>  - read-tree: convert unhelpful usage()'s to helpful die()'s

I think the first patch is good. I am still thinking about the second one though. Obviously rc is coming so it's not too pressing.

I've done a quick survey of parse-optification of builtins and I see that send-pack, rev-list, and fetch-pack all set bitfields when parsing options. Migrating these will have the same problems. I don't know if there's really any simple answer to it though, because you can't take the address of a bitfield. And I think it's stupid to make the bitfields into full ints just to support parse-options.

Maybe some builtins are just never meant to be migrated. Like update-index and its --cacheinfo option.

Previous: Johannes SchindelinNext: Johannes Sixt
Message 18 of 20 in “What's cooking in git.git (Jul 2009, #01; Mon, 06)”
  1. Junio C HamanoJul 6, 2009
  2. Marcus CamenJul 6, 2009
  3. Junio C HamanoJul 6, 2009
  4. Marcus CamenJul 6, 2009
  5. Junio C HamanoJul 6, 2009
  6. Jakub NarebskiJul 6, 2009
  7. Mark LodatoJul 7, 2009
  8. Jeff KingJul 7, 2009
  9. Johannes SixtJul 7, 2009
  10. Linus TorvaldsJul 7, 2009
  11. Alex RiesenJul 7, 2009
  12. Linus TorvaldsJul 7, 2009
  13. Johannes SchindelinJul 7, 2009
  14. Shawn O. PearceJul 7, 2009
  15. Junio C HamanoJul 7, 2009
  16. Shawn O. PearceJul 7, 2009
  17. notes, was Re: What's cooking in git.git (Jul 2009, #01; Mon, 06)Johannes Schindelin, Jul 8, 2009
  18. Stephen BoydJul 8, 2009
  19. Johannes SixtJul 8, 2009
  20. Christian CouderJul 10, 2009

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.