diff options
Diffstat (limited to 'util/scripts/prepare-commit-msg.clang-format')
-rwxr-xr-x | util/scripts/prepare-commit-msg.clang-format | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/scripts/prepare-commit-msg.clang-format b/util/scripts/prepare-commit-msg.clang-format index 7033f3cc07..a6b3d08a26 100755 --- a/util/scripts/prepare-commit-msg.clang-format +++ b/util/scripts/prepare-commit-msg.clang-format @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash files=`git diff --cached --name-only | grep '\.[ch]$'` if [ -z "$files" ]; then exit 0 |