When building LazyJJ from source, file diffs are not working on Windows:
This seems to be related to the recent change of how file paths are supplied to the diff command 83f60ce
Quotes are escaped, but backslashes are not.
Using debug formatting for the path instead of applying manual escaping seems to work for both quotes and backslashes, i.e replacing all occurrences of let fileset = format!("file:\"{}\"", path.replace('"', "\\\"")) with let fileset = format!("file:{path:?}").
When building LazyJJ from source, file diffs are not working on Windows:
This seems to be related to the recent change of how file paths are supplied to the diff command 83f60ce
Quotes are escaped, but backslashes are not.
Using debug formatting for the path instead of applying manual escaping seems to work for both quotes and backslashes, i.e replacing all occurrences of
let fileset = format!("file:\"{}\"", path.replace('"', "\\\""))withlet fileset = format!("file:{path:?}").