blob: e7f30f5f5c27e1a0040527d08fab8097fa87c193 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
set -eux
git diff --no-color HEAD -- *.changes \
|sed -E -n -e '/^\+[^+]/s/^\+//p' \
|sed -e '/^-\{4,\}/,+1d' \
|git commit -F -
git commit --amend -v "$@"
|