git-gui: git-remote is always available

git-gui checks for git version >= 1.6.6 before enabling the remotes menu. But git-gui requires git v2.36 or later, so git-remote is always available. Delete this check and always enable the menu. Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>

Mark Levedahl committed Feb 13, 2024 at 00:13 UTC 8b48034f78267c0f80a5185629bce529ad88e376
1 file changed -2
lib/remote.tcl
-2
@@ -233,8 +233,6 @@ proc make_sure_remote_submenues_exist {remote_m} {
233 proc update_all_remotes_menu_entry {} {
234 global all_remotes
235
236 - if {[git-version < 1.6.6]} { return }
237 -
236 set have_remote 0
237 foreach r $all_remotes {
238 incr have_remote