Skip to content

Commit

Permalink
adapt to changes in gix-diff
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Dec 8, 2024
1 parent f53cec5 commit 960773e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions gitoxide-core/src/repository/status.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ pub fn show(
copies: None,
percentage: Some(percentage),
limit: 0,
track_empty: false,
});
if opts.rewrites.is_some() {
if let Some(opts) = opts.dirwalk_options.as_mut() {
Expand Down
1 change: 1 addition & 0 deletions gix-status/tests/status/index_as_worktree_with_renames.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ fn changed_and_untracked_and_renamed() {
}),
percentage: Some(0.3),
limit: 0,
track_empty: true,
};
let out = fixture_filtered_detailed(
"changed-and-untracked-and-renamed",
Expand Down
1 change: 1 addition & 0 deletions gix/tests/gix/object/tree/diff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ mod track_rewrites {
}),
limit: 1000,
percentage: Some(0.5),
track_empty: false,
};
let out = from
.changes()?
Expand Down
4 changes: 4 additions & 0 deletions src/plumbing/progress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ struct Record {
}

static GIT_CONFIG: &[Record] = &[
Record {
config: "attr.tree",
usage: Planned("Decides where to read git attributes from - this will affect APIs")
},
Record {
config: "core.symlinks",
usage: Planned("Needed to handle checkouts faithfully")
Expand Down

0 comments on commit 960773e

Please sign in to comment.