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)
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>
No differences found