Closed ckrf closed 9 years ago
This is fixed in v0.02, with the "placeholder model". Now, instead of keeping the file "[name].xlsx" out of the repository, the pre-commit hook commits a text file called "[name].xlsx" with the SHA-1 hash of the actual xlsx file. The placeholder model prevents checkouts until you have stashed all of your Excel files away where you can recover them.
Because the xlsx file is not in the commit, there's no warning that you have to stash your work or committing before it will be overwritten by a checkout.