Don't hardlink the same changefile twice
[?]
Dec 7, 2020, 5:09 PM
UTEVDVGBBJZWMPQIM3NSSVN2GNBMY6I6FTAVXER7NMVBQSYKAVBACDependencies
- [2]
76PCXGMLPushing to, and pulling from the local repository - [3]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting).
Change contents
- replacement in pijul/src/remote/local.rs at line 96
if std::fs::hard_link(&local, &self.changes_dir).is_err() {std::fs::copy(&local, &self.changes_dir)?;if std::fs::metadata(&self.changes_dir).is_err() {if std::fs::hard_link(&local, &self.changes_dir).is_err() {std::fs::copy(&local, &self.changes_dir)?;}