diff options
author | P. 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) |
commit | fb9f6876e0e228c5c60c4b124cee32e828ae60ac (patch) | |
tree | 8711e0e31f93d9529b2b5e0c808353272362a828 | |
parent | 85fc814b31bc38178586ae3070e4a2b00412797f (diff) |
scripts/announce-release.sh: Detect renames in diffstat
-rwxr-xr-x | scripts/announce-release.sh | 4 |
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 |