summaryrefslogtreecommitdiffstats
path: root/scripts/announce-release.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2017-07-22 18:23:14 (EDT)
committer P. J. McDermott <pj@pehjota.net>2017-07-22 18:23:14 (EDT)
commitfb9f6876e0e228c5c60c4b124cee32e828ae60ac (patch)
tree8711e0e31f93d9529b2b5e0c808353272362a828 /scripts/announce-release.sh
parent85fc814b31bc38178586ae3070e4a2b00412797f (diff)
scripts/announce-release.sh: Detect renames in diffstat
Diffstat (limited to 'scripts/announce-release.sh')
-rwxr-xr-xscripts/announce-release.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/announce-release.sh b/scripts/announce-release.sh
index 74e915b..b35b73e 100755
--- a/scripts/announce-release.sh
+++ b/scripts/announce-release.sh
@@ -79,8 +79,8 @@ export GIT_DIR="${srcdir}/.git"
==================================$(printf '%s\n' "${old_version}" | \
sed 's/./=/g')
- $(git diff --stat=69 --color=never "${package}/${old_version}..HEAD" | \
- sed 's/^/ /')
+ $(git diff --stat=69 --color=never --find-renames=50% \
+ "${package}/${old_version}..HEAD" | sed 's/^/ /')
-- $(: Just something to follow the trailing space)
Patrick "P. J." McDermott