git-gui: added config gui.gcwarning to disable the gc hint message
commitaf867683345838f1adc606618e873ae4387a3c81
authorPat Thoyts <patthoyts@users.sourceforge.net>
Tue, 29 Nov 2011 09:27:17 +0000 (29 09:27 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Wed, 30 Nov 2011 14:37:26 +0000 (30 14:37 +0000)
tree940a8829d2c990a6626df098c03cdae3b5bd0072
parent6f01e20e25f7a164cb27067c690aa49d4cb5178e
git-gui: added config gui.gcwarning to disable the gc hint message

On startup in multicommit mode git-gui checks to see if the repository
has a lot of objects. If so it shows a dialog suggesting gc be run.
This adds 'gui.gcwarning' as a control config variable to allow this
to be disabled. The default is true (the warning is shown). Setting this
false will prevent the check being done.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
git-gui.sh