#!/bin/sh
#------------------------------------------------------------------------------
# Script
#     git-find-trailingspace
#
# Description
#     Use git grep to search for files with trailing whitespace
#
#------------------------------------------------------------------------------

git grep -c -P '\s+$' -- $@

#------------------------------------------------------------------------------
