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

Re: [PATCH] gc: use parse_options

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 6, 2007, 00:37 UTC
Message-ID
<7vr6j4ky4r.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<472FA26E.4060706@nrlssc.navy.mil>
Brandon Casey <casey@nrlssc.navy.mil> writes:
Show 13 quoted lines
> Junio C Hamano wrote:
>> James Bowes <jbowes@dangerouslyinc.com> writes:
>> 
>>> +	struct option builtin_gc_options[] = {
>>> +		OPT_BOOLEAN(0, "prune", &prune, "prune unused objects"),
>> 
>> I would write "unreferenced loose" instead of "unused" here...
>
> It is not just "loose" objects here, but also unreferenced objects in packs,
> since the "-a" option to repack is now only used when --prune is specified.
> Without --prune, "-A" is supplied to repack instead.
>
> So maybe the message should just be "prune unreferenced objects"
Fair enough, will do.
Previous: Brandon Casey
Message 6 of 6 in “gc: use parse_options”
  1. gc: use parse_optionsJames Bowes, Nov 2, 2007
  2. Junio C HamanoNov 2, 2007
  3. gc: use parse_optionsJames Bowes, Nov 2, 2007
  4. Pierre HabouzitNov 2, 2007
  5. Brandon CaseyNov 5, 2007
  6. Junio C HamanoNov 6, 2007

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.