Namespaces

Types in GitSharp.Commands

Type GcCommand

Namespace GitSharp.Commands

Parent AbstractCommand

Properties

Public properties

string ActualDirectory get;

bool Aggressive get; set;

Not implemented Usually 'git-gc' runs very quickly while providing good disk space utilization and performance. This option will cause 'git-gc' to more aggressively optimize the repository at the expense of taking much more time. The effects of this optimization are persistent, so this option only needs to be used occasionally; every few hundred changesets or so.

List<string> Arguments get; set;

bool Auto get; set;

Not implemented With this option, 'git-gc' checks whether any housekeeping is required; if not, it exits without performing any work. Some git commands run `git gc --auto` after performing operations that could create many loose objects. + Housekeeping is required if there are too many loose objects or too many packs in the repository. If the number of loose objects exceeds the value of the `gc.auto` configuration variable, then all loose objects are combined into a single pack using 'git-repack -d -l'. Setting the value of `gc.auto` to 0 disables automatic packing of loose objects. + If the number of packs exceeds the value of `gc.autopacklimit`, then existing packs (except those marked with a `.keep` file) are consolidated into a single pack by using the `-A` option of 'git-repack'. Setting `gc.autopacklimit` to 0 disables automatic consolidation of packs.

string GitDirectory get; set;

bool NoPrune get; set;

Not implemented Do not prune any loose objects.

StreamWriter OutputStream get; set;

string Prune get; set;

Not implemented Prune loose objects older than date (default is 2 weeks ago, overridable by the config variable `gc.pruneExpire`). This option is on by default.

bool Quiet get; set;

Not implemented Suppress all progress reports.

Repository Repository get; set;