summaryrefslogtreecommitdiff
path: root/openttd-git
diff options
context:
space:
mode:
Diffstat (limited to 'openttd-git')
-rwxr-xr-xopenttd-git/update-patches2
1 files changed, 1 insertions, 1 deletions
diff --git a/openttd-git/update-patches b/openttd-git/update-patches
index 231af4d7c..05400935f 100755
--- a/openttd-git/update-patches
+++ b/openttd-git/update-patches
@@ -21,7 +21,7 @@ sums=$(
d
' \
| while read -r patch; do
- git -C openttd-git diff master "remotes/local/${patch}" -- \
+ git -C openttd-git diff $(git -C openttd-git merge-base master "remotes/local/${patch}") "remotes/local/${patch}" -- \
> "${patch}.patch"
sha512sum "${patch}.patch" | \
awk '{print $1}'