-
Couldn't load subscription status.
- Fork 2.1k
Open
Labels
Description
Please review the Community Note before submitting
TruffleHog Version
3.90.11
Trace Output
Expected Behavior
A commit is produced with all the modified files
Actual Behavior
An empty commit is produced
Steps to Reproduce
Modify one or more files
pre-hook:
#!/usr/bin/env bash
branch=$(git branch --show-current)
if [ -n "$branch" ]; then
branch_arg="--branch $branch"
else
branch_arg=""
fi
bash -c "/opt/homebrew/bin/trufflehog git file://. --since-commit HEAD ${branch_arg} --only-verified --fail"git commit -a
Environment
- OS: MacOS Sequioa 15.7.1
Additional Context
Expected behavior works with version 3.90.8