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

Re: [PATCH 3/3] - Convert git-checkout-cache to argp

From
Junio C Hamano <junkio@cox.net>
Date
May 21, 2005, 19:57 UTC
Message-ID
<7voeb4gxnt.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<2242.10.10.10.24.1116700408.squirrel@linux1>
>>>>> "S" == Sean  <seanlkml@sympatico.ca> writes:

S> Use argp to process command line arguments for git-checkout-cache. Also, S> fix things up so that the order of options on the command line no longer S> matters. To this end, the "-f" (--force) switch only applies to the S> individual files given on the command line. A new forcing version of the S> "-a" (--all) switch is added as "-A" (--forceall).

I do not like that change at all. That would break existing scripts.

Why not just say --force forces checkout even when it is used with -a? I do not think anybody sane uses "-a -f" in their existing scripts nor from the command line.

Previous: SeanNext: Jeff Garzik
Message 2 of 5 in “- Convert git-checkout-cache to argp”
  1. 3/3 - Convert git-checkout-cache to argpSean, May 21, 2005
  2. Junio C HamanoMay 21, 2005
  3. Jeff GarzikMay 21, 2005
  4. Junio C HamanoMay 21, 2005
  5. SeanMay 21, 2005

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.