Run record hooks from the repository root

ryanbooker
Jan 8, 2024, 10:10 AM
X642QQQTS4X2DENIZT7PGJN2M2FYVFMGGANXSZHJ7LBP6442Z6IAC

Dependencies

  • [2] VL7ZYKHB Running hooks through shell on Windows and Unix
  • [3] SEWGHUHQ .pijul/config: simplify remotes and hooks
  • [4] H4AU6QRP New config for HTTP remotes
  • [5] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).

Change contents

  • replacement in pijul/src/config.rs at line 212
    [2.234][2.234:287]()
    pub fn run(&self) -> Result<(), anyhow::Error> {
    [2.234]
    [2.287]
    pub fn run(&self, path: PathBuf) -> Result<(), anyhow::Error> {
  • edit in pijul/src/config.rs at line 221
    [2.587]
    [2.587]
    .current_dir(path)
  • edit in pijul/src/config.rs at line 229
    [2.923]
    [2.923]
    .current_dir(path)
  • edit in pijul/src/config.rs at line 242
    [2.1331]
    [2.1331]
    .current_dir(path)
  • replacement in pijul/src/commands/record.rs at line 78
    [3.142][2.1840:1861]()
    h.run()?
    [3.142]
    [3.103535]
    h.run(repo.path.clone())?