git-gui: Assume unfound commands are known by git wrapper
[gitweb.git] / git-gui.sh
index 53cf89876fe9978500c911683e6245f92082ff30..9b342f08464c39d7096c987f3444772770962370 100755 (executable)
@@ -315,7 +315,10 @@ proc _git_cmd {name} {
                        #
                        set v [list $::_sh [gitexec git-$name]]
                } else {
-                       error "No [gitexec git-$name]"
+                       # Assume it is builtin to git somehow and we
+                       # aren't actually able to see a file for it.
+                       #
+                       set v [list $::_git $name]
                }
                set _git_cmd_path($name) $v
        }