]> git.ipfire.org Git - thirdparty/git.git/commit
git-gui: Run git-gc rather than git-repack.
authorShawn O. Pearce <spearce@spearce.org>
Sat, 20 Jan 2007 23:38:12 +0000 (18:38 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 21 Jan 2007 07:54:16 +0000 (02:54 -0500)
commit81c0f29a5633f6a9ab01e0e9ded5e1c6d715b70b
tree6ea5ad515fed8e6f7940af9b275814aae3338f83
parent51e7e568c0a7854b2f93b86d6085695ce80053cc
git-gui: Run git-gc rather than git-repack.

Now that git 1.5.0-rc1 and later has a 'git gc' command which performs
all important repository management activites (including reflog pruning,
repacking local objects, unnecessary loose object pruning and rerere cache
expiration) we should run 'gc' when the user wants us to cleanup their
object database for them.

I think the name 'gc' is horrible for a GUI application like git-gui,
so I'm labeling the menu action 'Compress Database' instead.  Hopefully
this will provide some clue to the user about what the action does.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui