Skip to content

Commit

Permalink
minor bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
initbar committed Aug 19, 2016
1 parent 3f1138c commit f7034cb
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 f7034cb

Please sign in to comment.