Skip to content

Commit aa90f02

Browse files
author
fossdd
committed
Update pijul
1 parent 27d3fd8 commit aa90f02

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libpijul/src/fs.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,13 +1002,15 @@ pub fn find_path<T: ChannelTxnT, C: ChangeStore>(
10021002
continue;
10031003
}
10041004
}
1005-
if !seen.insert(next.dest()) {
1005+
if seen.get(&next.dest()).is_some() {
1006+
debug!("seen");
10061007
continue;
10071008
}
10081009
next_v = Some((name_dest, age, next.dest()));
10091010
}
10101011
}
10111012
let (name, _, next) = next_v.unwrap();
1013+
seen.insert(next);
10121014
if name.start == name.end {
10131015
// Non-zero root vertex
10141016
assert!(next.change.is_root());

0 commit comments

Comments
 (0)