Skip to content

Commit

Permalink
Improve command hint to fix secret files not encrypted in index (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmurty committed Jan 15, 2022
1 parent aea3ff8 commit 565dc98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ The format is based on [Keep a Changelog][1], and this project adheres to
- Respect Git `core.hooksPath` setting when installing the pre-commit hook. (#104)
- Zsh completion. (#107)
- Fix salt generation for partial (patch) commits (#118)
- Improve command hint to fix secret files not encrypted in index (#120)

## [2.1.0] - 2020-09-07

Expand Down
2 changes: 1 addition & 1 deletion transcrypt
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ save_helper_hooks() {
printf 'Fix this by re-staging the file with a compatible tool or with'
printf ' Git on the command line:\n' >&2
printf '\n' >&2
printf ' git reset -- %s\n' "$secret_file" >&2
printf ' git rm --cached -- %s\n' "$secret_file" >&2
printf ' git add %s\n' "$secret_file" >&2
printf '\n' >&2
exit 1
Expand Down

0 comments on commit 565dc98

Please sign in to comment.