We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 843f5e2 commit a2d5d76Copy full SHA for a2d5d76
scripts/upstreamCommit.sh
@@ -5,7 +5,9 @@ PS1="$"
5
6
function changelog() {
7
base=$(git ls-tree HEAD $1 | cut -d' ' -f3 | cut -f1)
8
- cd $1 && git log --oneline ${base}..HEAD -- patches/api
+ current=$(cd $1 && git rev-parse HEAD)
9
+ msg=$(cd $1 && git --no-pager log --oneline ${base}..${current})
10
+ echo ${msg:-"Reverting from ${base} to ${current}"}
11
}
12
paper=$(changelog work/Paper)
13
0 commit comments