]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-gui: git-remote is always available
authorMark Levedahl <mlevedahl@gmail.com>
Tue, 13 Feb 2024 05:13:45 +0000 (00:13 -0500)
committerMark Levedahl <mlevedahl@gmail.com>
Sat, 19 Jul 2025 03:48:06 +0000 (23:48 -0400)
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>
lib/remote.tcl

index cf796d1601437fdef557b133bacc54c0e1f37f73..9b49b6e462abd6b59254d1ee0c10128580d47f7a 100644 (file)
@@ -233,8 +233,6 @@ proc make_sure_remote_submenues_exist {remote_m} {
 proc update_all_remotes_menu_entry {} {
        global all_remotes
 
-       if {[git-version < 1.6.6]} { return }
-
        set have_remote 0
        foreach r $all_remotes {
                incr have_remote