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 6906e0d commit 3c8e3c1Copy full SHA for 3c8e3c1
gix/src/object/tree/diff/mod.rs
@@ -34,6 +34,10 @@ impl<'repo> Tree<'repo> {
34
///
35
/// It's highly recommended to set an object cache to avoid extracting the same object multiple times.
36
/// By default, similar to `git diff`, rename tracking will be enabled if it is not configured.
37
+ ///
38
+ /// Note that if a clone with `--filter=blob=none` was created, rename tracking may fail as it might
39
+ /// try to access blobs to compute a similarity metric. Thus, it's more compatible to turn rewrite tracking off
40
+ /// using [`Platform::track_rewrites()`].
41
#[allow(clippy::result_large_err)]
42
pub fn changes<'a>(&'a self) -> Result<Platform<'a, 'repo>, rewrites::Error> {
43
Ok(Platform {
0 commit comments