summaryrefslogtreecommitdiff
path: root/tools/prepare-commit-msg
diff options
context:
space:
mode:
authorthdox <thdox@free.fr>2015-02-08 16:29:23 +0100
committerthdox <thdox@free.fr>2015-02-08 16:57:23 +0100
commit62977ea23a68e3da6da0183b858abd38c3c0ec9f (patch)
tree51a5f84d988f09eb22424579bbb924ccfdc7db16 /tools/prepare-commit-msg
parentbc487be14bd1a79cbbedb9203921b357ced79ef7 (diff)
downloadfork-ledger-62977ea23a68e3da6da0183b858abd38c3c0ec9f.tar.gz
fork-ledger-62977ea23a68e3da6da0183b858abd38c3c0ec9f.tar.bz2
fork-ledger-62977ea23a68e3da6da0183b858abd38c3c0ec9f.zip
SC2112 'function' keyword is non-standard. Delete it.
http://www.shellcheck.net/ [ci skip]
Diffstat (limited to 'tools/prepare-commit-msg')
-rwxr-xr-xtools/prepare-commit-msg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/prepare-commit-msg b/tools/prepare-commit-msg
index ab351760..e8150dd1 100755
--- a/tools/prepare-commit-msg
+++ b/tools/prepare-commit-msg
@@ -5,7 +5,7 @@
# Add [ci skip] to the commit message unless there are changes to files
# that are relevant for testing such as src/*, test/*, ledger3.texi, ...
-function add_ci_skip()
+add_ci_skip ()
{
pattern="$1"; shift
source="$1"