From: Matthieu Moy <Matthieu.Moy@imag.fr>
To: Jakub Narebski <jnareb@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: git --prune --aggresive
Date: Fri, 23 Nov 2007 12:15:50 +0100 [thread overview]
Message-ID: <vpq3auxxleh.fsf@bauges.imag.fr> (raw)
In-Reply-To: <200711231108.16676.jnareb@gmail.com> (Jakub Narebski's message of "Fri\, 23 Nov 2007 11\:08\:16 +0100")
Jakub Narebski <jnareb@gmail.com> writes:
> Jakub Narebski wrote:
>
>> 2396:[gitweb/web@git]# git gc --aggresive --prune
>> usage: git-gc [--prune] [--aggressive]
>> 2397:[gitweb/web@git]# git gc --prune --aggresive
>> usage: git-gc [--prune] [--aggressive]
>> 2398:[gitweb/web@git]# git --version
>> git version 1.5.3.5
>>
>> Either usage string should be fixed, as it suggests that you can specify
>> both --aggresive and --prune, or git-gc should.
>
> I'm very sorry, my mistake: --aggresive instead of --aggressive.
> Please disregard this message...
Now, for the cool thing: with the latest git, I get the following.
$ git gc --aggresive --prune
error: unknown option `aggresive' <----- this is what you wanted.
usage: git-gc [options]
--prune prune unreferenced objects
--aggressive be more thorough (increased runtime)
--auto enable auto-gc mode
$ _
Thanks, parse_options.[ch]!
--
Matthieu
prev parent reply other threads:[~2007-11-23 11:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-23 9:58 git --prune --aggresive Jakub Narebski
2007-11-23 10:08 ` Jakub Narebski
2007-11-23 11:15 ` Matthieu Moy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vpq3auxxleh.fsf@bauges.imag.fr \
--to=matthieu.moy@imag.fr \
--cc=git@vger.kernel.org \
--cc=jnareb@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox