Skip to content

Commit 5da38e5

Browse files
committed
adapt to changes in gix-status
1 parent 38b28c6 commit 5da38e5

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
@@ -220,7 +220,7 @@ fn print_index_entry_status(
220220
) -> std::io::Result<()> {
221221
let char_storage;
222222
let status = match status {
223-
EntryStatus::Conflict(conflict) => as_str(conflict),
223+
EntryStatus::Conflict { summary, entries: _ } => as_str(summary),
224224
EntryStatus::Change(change) => {
225225
char_storage = change_to_char(&change);
226226
std::str::from_utf8(std::slice::from_ref(&char_storage)).expect("valid ASCII")

gix/src/status/index_worktree.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ pub mod iter {
489489
use gix_status::index_as_worktree_with_renames::Summary::*;
490490
Some(match self {
491491
Item::Modification { status, .. } => match status {
492-
EntryStatus::Conflict(_) => Conflict,
492+
EntryStatus::Conflict { .. } => Conflict,
493493
EntryStatus::Change(change) => match change {
494494
Change::Removed => Removed,
495495
Change::Type { .. } => TypeChange,

0 commit comments

Comments
 (0)