aboutsummaryrefslogtreecommitdiffstats
path: root/govc
blob: 137d0eeff68a81af3d3cbbae2f3e53c14a943a47 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh

set -eux

git diff --no-color HEAD -- *.changes \
    |sed -E -n -e '/^\+[^+]/s/^\+//p' \
    |sed -e '/^-\{4,\}/,+1d' \
    |git commit -F - "$@"