Archive: / after prefixes and long names
[?]
Jan 10, 2021, 11:56 AM
MDH4VR4RZJTQ3PBD3V5FEAPE2OVHXGAVGAJY4KSBH6XXOL7OFOIQCDependencies
- [2]
BY5FVZAVAdd a prefix in `pijul archive` in all cases - [3]
I3OVP3NHArchive: set the accurate and deterministic mtime - [4]
76PCXGMLPushing to, and pulling from the local repository - [5]
VO5OQW4WRemoving anyhow in libpijul - [6]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting).
Change contents
- edit in pijul/src/commands/archive.rs at line 48
}if let Some(ref mut p) = self.prefix {if !p.is_empty() && !p.ends_with("/") {p.push('/');} - edit in pijul/src/commands/archive.rs at line 68
if let Some(ref mut p) = self.prefix {if !p.is_empty() && !p.ends_with("/") {p.push('/');}} - edit in libpijul/src/output/archive.rs at line 70
header.set_path(&file.path)?; - replacement in libpijul/src/output/archive.rs at line 74
self.archive.append(&header, &file.buf[..])?;self.archive.append_data(&mut header, &file.path, &file.buf[..])?;