From cc7d8aba69813df02cc7fb758f7dabfed346e503 Mon Sep 17 00:00:00 2001 From: AYA Date: Thu, 1 Aug 2024 10:18:33 +0200 Subject: [PATCH] removing unneccessary git fetch --- scripts/helpers/restyle-diff.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/helpers/restyle-diff.sh b/scripts/helpers/restyle-diff.sh index 5f37c69762e281..58904e06a38565 100755 --- a/scripts/helpers/restyle-diff.sh +++ b/scripts/helpers/restyle-diff.sh @@ -78,7 +78,7 @@ done if [[ -z "$ref" ]]; then ref="master" - git remote | grep -qxF upstream && ref="upstream/master" && git fetch upstream + git remote | grep -qxF upstream && ref="upstream/master" fi if [[ $pull_image -eq 1 ]]; then