Skip to content

Commit

Permalink
removing unneccessary git fetch (project-chip#34698)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alami-Amine authored and hasty committed Aug 1, 2024
1 parent eb59fc3 commit 5c6312b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/helpers/restyle-diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c6312b

Please sign in to comment.