Git development
 help / color / mirror / Atom feed
* git --prune --aggresive
@ 2007-11-23  9:58 Jakub Narebski
  2007-11-23 10:08 ` Jakub Narebski
  0 siblings, 1 reply; 3+ messages in thread
From: Jakub Narebski @ 2007-11-23  9:58 UTC (permalink / raw)
  To: git

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.

-- 
Jakub Narebski
Poland

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git --prune --aggresive
  2007-11-23  9:58 git --prune --aggresive Jakub Narebski
@ 2007-11-23 10:08 ` Jakub Narebski
  2007-11-23 11:15   ` Matthieu Moy
  0 siblings, 1 reply; 3+ messages in thread
From: Jakub Narebski @ 2007-11-23 10:08 UTC (permalink / raw)
  To: git

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...

-- 
Jakub Narebski
Poland

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git --prune --aggresive
  2007-11-23 10:08 ` Jakub Narebski
@ 2007-11-23 11:15   ` Matthieu Moy
  0 siblings, 0 replies; 3+ messages in thread
From: Matthieu Moy @ 2007-11-23 11:15 UTC (permalink / raw)
  To: Jakub Narebski; +Cc: git

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-11-23 11:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox