diff options
| author | Teddy Wing | 2015-08-17 23:21:30 -0400 | 
|---|---|---|
| committer | Teddy Wing | 2015-08-17 23:21:30 -0400 | 
| commit | d0160d35bf973090a1b2027855ad069b4495c36f (patch) | |
| tree | ad0389b9291a34265cf394f8fef4debfb28f2dfc /git-stats.sh | |
| parent | 3c1f27346f75caf64ed0c4138009510133f8c683 (diff) | |
| download | git-stats-d0160d35bf973090a1b2027855ad069b4495c36f.tar.bz2 | |
git-stats.sh: Unofficial Bash strict mode
http://redsymbol.net/articles/unofficial-bash-strict-mode/
Diffstat (limited to 'git-stats.sh')
| -rwxr-xr-x | git-stats.sh | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/git-stats.sh b/git-stats.sh index f63fe4d..63eab68 100755 --- a/git-stats.sh +++ b/git-stats.sh @@ -1,4 +1,7 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash + +set -euo pipefail +IFS=$'\n\t'  function usage () {  	echo "Usage: $0 path/to/git/repository" | 
