Skip to content

Commit a0cef8b

Browse files
committed
Adapt to changes in gix-diff
1 parent bd01893 commit a0cef8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gix/src/status/iter/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ impl Item {
135135
pub fn location(&self) -> &BStr {
136136
match self {
137137
Item::IndexWorktree(change) => change.rela_path(),
138-
Item::TreeIndex(change) => change.fields().0,
138+
Item::TreeIndex(change) => change.location(),
139139
}
140140
}
141141
}

0 commit comments

Comments
 (0)