We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27d3fd8 commit aa90f02Copy full SHA for aa90f02
libpijul/src/fs.rs
@@ -1002,13 +1002,15 @@ pub fn find_path<T: ChannelTxnT, C: ChangeStore>(
1002
continue;
1003
}
1004
1005
- if !seen.insert(next.dest()) {
+ if seen.get(&next.dest()).is_some() {
1006
+ debug!("seen");
1007
1008
1009
next_v = Some((name_dest, age, next.dest()));
1010
1011
1012
let (name, _, next) = next_v.unwrap();
1013
+ seen.insert(next);
1014
if name.start == name.end {
1015
// Non-zero root vertex
1016
assert!(next.change.is_root());
0 commit comments