Code

git-gui: Include version check and test for tearoff menu entry
authorPat Thoyts <patthoyts@users.sourceforge.net>
Tue, 15 Feb 2011 00:20:36 +0000 (00:20 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Tue, 15 Feb 2011 00:20:36 +0000 (00:20 +0000)
commitba44692a2ecedacfc48c28fba642876d49dec90a
treeba31b294a322d6c10ba849468eee997dcca29863
parent69e21b8392ac74338f3378a63f3db6b9df5249d7
git-gui: Include version check and test for tearoff menu entry

The --all option for git fetch was added in v1.6.6 so ensure we have a usable version before adding
the menu items.
Sometimes people use tearoff menus and these offset the entry indices by one.

Acked-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
lib/remote.tcl