Use promisor_remote_get_direct() and has_promisor_remote()
[gitweb.git] / git-legacy-stash.sh
index 8a8c4a92705698bc7b0ee8563d059e312cc9f57b..f60e9b3e877b24e42431654e1de19911bdfc4f25 100755 (executable)
@@ -86,17 +86,17 @@ maybe_quiet () {
                shift
                if test -n "$GIT_QUIET"
                then
-                       eval "$@" 2>/dev/null
+                       "$@" 2>/dev/null
                else
-                       eval "$@"
+                       "$@"
                fi
                ;;
        *)
                if test -n "$GIT_QUIET"
                then
-                       eval "$@" >/dev/null 2>&1
+                       "$@" >/dev/null 2>&1
                else
-                       eval "$@"
+                       "$@"
                fi
                ;;
        esac