aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/upstreamCommit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/upstreamCommit.sh b/scripts/upstreamCommit.sh
index 033cf24624..d806055bdc 100755
--- a/scripts/upstreamCommit.sh
+++ b/scripts/upstreamCommit.sh
@@ -5,7 +5,7 @@ PS1="$"
function changelog() {
base=$(git ls-tree HEAD $1 | cut -d' ' -f3 | cut -f1)
- cd $1 && git log --oneline ${base}...HEAD
+ cd $1 && git log --oneline ${base}...HEAD | sed 's/\(^[0-9a-f]\{8,\}\s\|Revert\s"\)#\([0-9]\+\)/\1PR-\2/'
}
bukkit=$(changelog work/Bukkit)
cb=$(changelog work/CraftBukkit)