Skip to content

Commit 7c4094b

Browse files
committed
adapt to changes in gix-diff
1 parent e08a6c7 commit 7c4094b

File tree

1 file changed

+7
-0
lines changed
  • gix-status/src/index_as_worktree_with_renames

1 file changed

+7
-0
lines changed

gix-status/src/index_as_worktree_with_renames/mod.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ pub(super) mod function {
404404
use crate::index_as_worktree_with_renames::{Entry, Error};
405405
use bstr::BStr;
406406
use gix_diff::rewrites::tracker::ChangeKind;
407+
use gix_diff::tree::visit::Relation;
407408
use gix_dir::entry::Kind;
408409
use gix_filter::pipeline::convert::ToGitOutcome;
409410
use gix_hash::oid;
@@ -437,6 +438,12 @@ pub(super) mod function {
437438
}
438439
}
439440

441+
fn relation(&self) -> Option<Relation> {
442+
// TODO: figure out if index or worktree can provide containerization - worktree should be possible.
443+
// index would take some processing.
444+
None
445+
}
446+
440447
fn kind(&self) -> ChangeKind {
441448
match self {
442449
ModificationOrDirwalkEntry::Modification(m) => match &m.status {

0 commit comments

Comments
 (0)