Skip to content

Commit b85b5e6

Browse files
committed
Expand ~ and ~user in secrets.providers
1 parent b9e96b3 commit b85b5e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

git-secrets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ prepare_commit_msg_hook* prepare-commit-msg hook (internal only)"
4848
load_patterns() {
4949
git config --get-all secrets.patterns
5050
# Execute each provider and use their output to build up patterns
51-
git config --get-all secrets.providers | while read -r cmd; do
51+
git config --get-all --type path secrets.providers | while read -r cmd; do
5252
# Only split words on '\n\t ' and strip "\r" from the output to account
5353
# for carriage returns being added on Windows systems. Note that this
5454
# trimming is done before the test to ensure that the string is not empty.

0 commit comments

Comments
 (0)