This repository has been archived by the owner on Apr 11, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Truncate the original file before overwriting it
If you opened a file that contained "AAAAA" and edited it to contain "BBB", GitPad would create a file that contained "BBBAA". Now the original file gets completely truncated before the new contents are laid down, so you'll end up with "BBB" as expected.
- Loading branch information