aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgovc8
1 files changed, 8 insertions, 0 deletions
diff --git a/govc b/govc
new file mode 100755
index 0000000..137d0ee
--- /dev/null
+++ b/govc
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -eux
+
+git diff --no-color HEAD -- *.changes \
+ |sed -E -n -e '/^\+[^+]/s/^\+//p' \
+ |sed -e '/^-\{4,\}/,+1d' \
+ |git commit -F - "$@"