git --prune --aggresive
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.
Signature · 2 lines
Jakub Narebski Poland
Quoted 9 lines · Jakub Narebski
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.5Either 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...
Signature · 2 lines
Jakub Narebski Poland
Quoted 9 lines · Jakub Narebski
Quoted 7 lines · Jakub Narebski
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
Quoted 5 lines
Quoted 2 lines
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]!
Signature · 1 line
Matthieu