aboutsummaryrefslogtreecommitdiff
path: root/bin/grc.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-31 14:19:57 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-31 14:29:17 +1300
commit0c84989ca0b97ca1d075e7a304a407553e34381d (patch)
tree2188a585aef6ed345b1c575da6f63445baabf522 /bin/grc.sh
parentAdd clarifying comment (diff)
downloaddotfiles-0c84989ca0b97ca1d075e7a304a407553e34381d.tar.gz
dotfiles-0c84989ca0b97ca1d075e7a304a407553e34381d.zip
Clarify control flow in shell scripts
Diffstat (limited to 'bin/grc.sh')
-rw-r--r--bin/grc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/grc.sh b/bin/grc.sh
index 184baf8e..bfcb648d 100644
--- a/bin/grc.sh
+++ b/bin/grc.sh
@@ -12,4 +12,4 @@ fi
# Exit 0 if the first command gives any output (added files) or the second one
# exits 1 (inverted; differences in tracked files)
[ -n "$(git ls-files --others --exclude-standard)" ] ||
-! git diff-index --quiet HEAD
+ ! git diff-index --quiet HEAD