]> git.ipfire.org Git - thirdparty/man-pages.git/commit
Add script to get modified pages for commit messages
authorAlejandro Colomar <alx.manpages@gmail.com>
Mon, 16 Nov 2020 19:42:18 +0000 (20:42 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 16 Nov 2020 20:26:15 +0000 (21:26 +0100)
commit1d8566691a36ae9908fe97efc151c2e3a98c9ffb
treeba81348fd4edcce0a7c7f47ed97ff03a6bb7c370
parentebf47ac9da21f4a1f5756f5d5b5d5b6f41343112
Add script to get modified pages for commit messages

The script can be used this way:

git commit -sm "$(./scripts/modified_pages.sh): Short commit msg"

And then maybe --amend and add a longer message.

This is especially useful for changes to many pages at once,
usually when running a script to apply some global changes.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
scripts/modified_pages.sh [new file with mode: 0755]