summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2006-12-27 07:17:59 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-12-27 09:53:03 (GMT)
commit30f610b7b09a579aeba343317114bf18b4fd92bf (patch)
tree010e90ddf832d8d51567fffc6a00aa6038d57303 /.gitignore
parent4aec56d12ba66a321ce8a6db2ab60f81be5ccfc5 (diff)
downloadgit-30f610b7b09a579aeba343317114bf18b4fd92bf.zip
git-30f610b7b09a579aeba343317114bf18b4fd92bf.tar.gz
git-30f610b7b09a579aeba343317114bf18b4fd92bf.tar.bz2
Create 'git gc' to perform common maintenance operations.
Junio asked for a 'git gc' utility which users can execute on a regular basis to perform basic repository actions such as: * pack-refs --prune * reflog expire * repack -a -d * prune * rerere gc So here is a command which does exactly that. The parameters fed to reflog's expire subcommand can be chosen by the user by setting configuration options in .git/config (or ~/.gitconfig), as users may want different expiration windows for each repository but shouldn't be bothered to remember what they are all of the time. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 60e5002..2904f12 100644
--- a/.gitignore
+++ b/.gitignore
@@ -42,6 +42,7 @@ git-fmt-merge-msg
git-for-each-ref
git-format-patch
git-fsck-objects
+git-gc
git-get-tar-commit-id
git-grep
git-hash-object