Skip to content

Commit

Permalink
bin/git-commit-filetree: Add set -o pipefail
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
0cjs committed Mar 27, 2019
1 parent 3648d28 commit 2b63364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/git-commit-filetree
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# Nishant Rodrigues <nishantjr@gmail.com>
#

set -e
set -e -o pipefail

SUBDIRECTORY_OK=1
. "$(git --exec-path)/git-sh-setup"
Expand Down

0 comments on commit 2b63364

Please sign in to comment.