Skip to content

Commit 1754ce8

Browse files
committed
Re-add .configure-files to .gitignore
To cover the legacy case of someone switching to an old branch that didn't have `git-crypt` yet, running `configure_apply` on that old branch, then switching back to a branch that used `git-crypt`. In that case there's a risk that some files in `.configure-files` that would contain decrypted secrets would still be around (if the used didn't run `git clean`) and be accidentally commited to the remote.
1 parent a6786c5 commit 1754ce8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ local.properties
5555
# Backup Files
5656
*.bak
5757

58+
# Legacy secret files managed by `configure`, before we migrated to use `git-crypt`.
59+
# Kept in this `.gitignore` to ensure that, if someone still had them in their local working copy and didn't do a
60+
# `git clean` to remove them after the migration away from `configure`, they don't risk being accidentally committed.
61+
.configure-files/
62+
5863
# Android Studio Navigation editor temp files
5964
.navigation/
6065

0 commit comments

Comments
 (0)