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

[PATCH/RFC] gitopt - command-line parsing enhancements (take #2)

From
EWEric Wong <normalperson@yhbt.net>
Date
May 14, 2006, 15:19 UTC
Message-ID
<11476199622462-git-send-email-normalperson@yhbt.net>
This should be a less scary series of patches for gitopt.
[PATCH 1/5] gitopt: a new command-line option parser for git
[PATCH 2/5] gitopt: convert ls-files, ls-tree, update-index
	Simple conversions.
[PATCH 3/5] gitopt: convert setup_revisions() and friends
	This one is pretty big, some extra testing + review would be
	nice.
[PATCH 4/5] commit: allow --pretty= args to be abbreviated
	Not strictly related to gitopt, but finger-friendly nevertheless.
[PATCH 5/5] diff: parse U/u/unified options with an optional integer arg
	Originally, this was bundled into:
		<11471512123005-git-send-email-normalperson@yhbt.net>,
	Then Linus did a more correct one that didn't forget combine-diff:
		<Pine.LNX.4.64.0605131317200.3866@g5.osdl.org>
	This one combines both of them.
Next: Eric Wong
Message 1 of 12 in “gitopt - command-line parsing enhancements (take #2)”
  1. gitopt - command-line parsing enhancements (take #2)Eric Wong, May 14, 2006
  2. 1/5 gitopt: a new command-line option parser for gitEric Wong, May 14, 2006
  3. 2/5 gitopt: convert ls-files, ls-tree, update-indexEric Wong, May 14, 2006
  4. 3/5 gitopt: convert setup_revisions() and friendsEric Wong, May 14, 2006
  5. 4/5 commit: allow --pretty= args to be abbreviatedEric Wong, May 14, 2006
  6. Junio C HamanoMay 14, 2006
  7. commit: allow --pretty= args to be abbreviatedEric Wong, May 15, 2006
  8. Junio C HamanoMay 15, 2006
  9. Eric WongMay 16, 2006
  10. 5/5 diff: parse U/u/unified options with an optional integer argEric Wong, May 14, 2006
  11. Linus TorvaldsMay 14, 2006
  12. Eric WongMay 14, 2006

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.