Skip to content

Commit 25d480c

Browse files
committed
adapt to changes in gix-status
1 parent 77ecdb5 commit 25d480c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gitoxide-core/src/repository/status.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ fn change_to_char(change: &Change<(), gix::submodule::Status>) -> u8 {
249249
// Known status letters: https://github.com/git/git/blob/6807fcfedab84bc8cd0fbf721bc13c4e68cda9ae/diff.h#L613
250250
match change {
251251
Change::Removed => b'D',
252-
Change::Type => b'T',
252+
Change::Type { .. } => b'T',
253253
Change::SubmoduleModification(_) => b'M',
254254
Change::Modification {
255255
executable_bit_changed, ..

gix/src/status/index_worktree.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ pub mod iter {
462462
EntryStatus::Conflict(_) => Conflict,
463463
EntryStatus::Change(change) => match change {
464464
Change::Removed => Removed,
465-
Change::Type => TypeChange,
465+
Change::Type { .. } => TypeChange,
466466
Change::Modification { .. } | Change::SubmoduleModification(_) => Modified,
467467
},
468468
EntryStatus::NeedsUpdate(_) => return None,

0 commit comments

Comments
 (0)