Expand description
git-xcrypt sync — regenerate the cosmetic lines in .gitattributes.
Only the cosmetic lines. The catch-all line above them is static, written
once by init, and carries the whole security guarantee; nothing here can
make it stale, which is the point of the construction. Forgetting to run
sync therefore costs a worse git diff, never a secret.
--check exists so a CI job can say “the section is out of date” without
writing to the working tree.
Structs§
- Report
- What
syncdid, plus anything the configuration file is worth warning about.
Enums§
- Outcome
- What
syncfound, and what it did about it.
Functions§
- run
- Runs
syncinrepo, writing unlesscheckis set.