Skip to content
Snippets Groups Projects
Commit 81c0f29a authored by Shawn O. Pearce's avatar Shawn O. Pearce
Browse files

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: default avatarShawn O. Pearce <spearce@spearce.org>
parent 51e7e568
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment