Reverse log order

This commit is contained in:
Wesley Wigham
2019-05-31 14:46:33 -07:00
parent 2cd3500197
commit 22348d8a0c

View File

@@ -29,7 +29,7 @@ async function main() {
["git", ["fetch", "origin", "master"]]
]);
let logText = runSequence([
["git", ["log", `origin/master..${currentSha.trim()}`, `--pretty="%h %s%n%b"`]]
["git", ["log", `origin/master..${currentSha.trim()}`, `--pretty="%h %s%n%b"`, "--reverse"]]
]);
logText = `Cherry-pick PR #${process.env.SOURCE_ISSUE} into ${process.env.TARGET_BRANCH}