From 2b63364e564c0a4d63efc33976cd64dafd6179e3 Mon Sep 17 00:00:00 2001 From: "Curt J. Sampson" Date: Wed, 27 Mar 2019 23:33:55 +0900 Subject: [PATCH] bin/git-commit-filetree: Add set -o pipefail Again, we don't actually need this right now because the only two places we use a pipe are in command-substitution subshells (`$(...)`), but this should always go with set -e. --- bin/git-commit-filetree | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/git-commit-filetree b/bin/git-commit-filetree index b0e2a7f..9812836 100755 --- a/bin/git-commit-filetree +++ b/bin/git-commit-filetree @@ -13,7 +13,7 @@ # Nishant Rodrigues # -set -e +set -e -o pipefail SUBDIRECTORY_OK=1 . "$(git --exec-path)/git-sh-setup"