diff options
author | John Ankarström <john@ankarstrom.se> | 2020-11-15 22:00:43 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2020-11-15 22:04:18 +0100 |
commit | 4229736346c6909c4125ea9ee580b2ce53e34d45 (patch) | |
tree | 62909739e1573ea30eca88ba3f714f83ecbb5050 /capcom | |
parent | 457c2a2018c79da46266ec69469ae8200431941b (diff) | |
download | alpine-4229736346c6909c4125ea9ee580b2ce53e34d45.tar.gz |
Add 'capcom' tool
Diffstat (limited to 'capcom')
-rwxr-xr-x | capcom | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +#!/bin/sh + +# Capitalize given commit messages + +[ $# -eq 0 ] && { echo "usage: $0 rev-list" 1>&2; exit 1; } + +FILTER_BRANCH_SQUELCH_WARNING=1 \ +git filter-branch --msg-filter 'awk -vFS= -vOFS= "NR==1{\$1=toupper(\$1); print \$0} NR>1{print}"' "$@" |