Skip to content

Commit

Permalink
feat/util-sync-with-upstream rfactor code
Browse files Browse the repository at this point in the history
  • Loading branch information
hminaee-tc committed Jul 17, 2024
1 parent 8c7b66b commit 4484e1a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hooks/utils/fork_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ sync_fork_with_upstream_branch() {
log "INFO" "Successfully fetched upstream changes."
fi
echo "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
test=$(git remote -v)
branches_test=$(git branch -r | grep upstream/feat/add-initial-sync-flow)
log "INFO" "Remote is: $test"
log "INFO" "Branches are: $branches_test"
# test=$(git remote -v)
# branches_test=$(git branch -r | grep upstream/feat/add-initial-sync-flow)
# log "INFO" "Remote is: $test"
# log "INFO" "Branches are: $branches_test"
if git diff --quiet HEAD upstream/${upstream_branch}; then
log "INFO" "Branch is up-to-date with 'upstream/${upstream_branch}'."
exit 0
Expand Down

0 comments on commit 4484e1a

Please sign in to comment.