Skip to content

Commit

Permalink
Merge pull request awslabs#33 from initbar/master
Browse files Browse the repository at this point in the history
minor bug fixes
  • Loading branch information
mtdowling authored Oct 26, 2016
2 parents 3f1138c + f7034cb commit 0ecbdb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions git-secrets
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ prepare_commit_msg_hook* prepare-commit-msg hook (internal only)"
load_patterns() {
git config --get-all secrets.patterns
# Execute each provider and use their output to build up patterns
git config --get-all secrets.providers | while read cmd; do
git config --get-all secrets.providers | while read -r cmd; do
echo "$(export IFS=$'\n\t '; $cmd)"
done
}
Expand Down Expand Up @@ -337,5 +337,5 @@ case "${COMMAND}" in
mkdir -p "${DIRECTORY}/hooks" || die "Could not create dir: ${DIRECTORY}"
install_all_hooks "${DIRECTORY}"
;;
*) echo "Unknown option: ${option}" && "$0" -h ;;
esac
*) echo "Unknown option: ${COMMAND}" && "$0" -h ;;
esac

0 comments on commit 0ecbdb2

Please sign in to comment.