Skip to content

Commit

Permalink
sync-upstream: fix "end" parameter for specifying range
Browse files Browse the repository at this point in the history
  • Loading branch information
real-or-random committed Jul 12, 2021
1 parent 394f49f commit 907633e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/sync-upstream.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ range() {
RANGEEND_COMMIT=$1
fi

COMMITS=$(git --no-pager log --oneline "$REMOTE_BRANCH" --merges "$RANGESTART_COMMIT".."$RANGEEND_COMMIT")
COMMITS=$(git --no-pager log --oneline --merges "$RANGESTART_COMMIT".."$RANGEEND_COMMIT")
COMMITS=$(echo "$COMMITS" | tac | awk '{ print $1 }' ORS=' ')
echo "Merging $COMMITS. Continue with y"
read -r yn
Expand Down

0 comments on commit 907633e

Please sign in to comment.