From 8e8e9b0f5115e223b3507651ce879a56f34be511 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 18 Aug 2014 15:55:27 +0200 Subject: [PATCH 1/1] t: use set -u --- t/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/test.sh b/t/test.sh index a767266..bd2000d 100755 --- a/t/test.sh +++ b/t/test.sh @@ -2,7 +2,7 @@ # Small test file to check different --word-diff-regex settings in Git. -# Copyright (C) 2012 Simon Ruderich +# Copyright (C) 2012-2014 Simon Ruderich # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,7 +18,7 @@ # along with this program. If not, see . -set -e +set -eu git_diff() { git diff --color=never --word-diff=plain --word-diff-regex="$1" \ -- 2.44.1