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 w8floosh committed Aug 4, 2024
1 parent 0757a7d commit dbfe26f
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 dbfe26f

Please sign in to comment.