]> git.ipfire.org Git - thirdparty/git.git/commit - git-gui/git-gui.sh
git-gui: Allow users to run fsck-objects from the gui.
authorShawn O. Pearce <spearce@spearce.org>
Tue, 21 Nov 2006 02:43:41 +0000 (21:43 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 21 Nov 2006 05:22:34 +0000 (00:22 -0500)
commit444f92d097425e8d1043a14571ebfd82c1c3b0a5
treecf04938f782f08b958b3422c36bd9bfa296b9b67
parentf18e40a1a60d506065b6cc0e45704ce29ea0a035
git-gui: Allow users to run fsck-objects from the gui.

I recently found a need to run fsck-objects in a number of repositories
that I also use git-gui against.  Tossing in a menu option to invoke
fsck-objects and have its output show up in a console window is simple
enough to do.

We probably need to enhance the console window used by fsck-objects,
like to open up the Git fsck-objects manual page and let the user see
what each message means (such as "dangling commit") and to also let the
user invoke prune, to cleanup any such dangling objects.  But right now
I'm going to ignore that problem in favor of getting other more important
features implemented.

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