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 Aug 1, 2024
1 parent c7f5f65 commit fb1d2d8
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 fb1d2d8

Please sign in to comment.