fs::find_path: do not insert a vertex in the "seen" table if we are not actually going through it

pmeunier
Jan 13, 2022, 9:58 AM
QKELOVEBU4HQ353G7JAAYHNNSAWBHJ3UJ7GSQ33KMS7O7XWTLEUQC

Dependencies

  • [2] UDI52FVA Fixing path search for cyclic directories
  • [3] YN63NUZO Sanakirja 1.0
  • [4] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [*] RMDMAYRX Adding a root inode (aka supporting submodules)

Change contents

  • replacement in libpijul/src/fs.rs at line 1009
    [3.762767][2.334:381]()
    if !seen.insert(next.dest()) {
    [3.762767]
    [2.381]
    if seen.get(&next.dest()).is_some() {
    debug!("seen");
  • edit in libpijul/src/fs.rs at line 1017
    [3.762898]
    [6.27047]
    seen.insert(next);