Skip to content

Commit b9b21f3

Browse files
committed
fix: remove unused dependency and assure we get the right ctime on posix at least.
1 parent 29e45d1 commit b9b21f3

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gix-status/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@ gix-hash = { version = "^0.13.1", path = "../gix-hash" }
2020
gix-object = { version = "^0.38.0", path = "../gix-object" }
2121
gix-path = { version = "^0.10.0", path = "../gix-path" }
2222
gix-features = { version = "^0.36.0", path = "../gix-features" }
23-
gix-pathspec = { version = "^0.4.0", path = "../gix-pathspec" }
2423
gix-filter = { version = "^0.6.0", path = "../gix-filter" }
2524
gix-worktree = { version = "^0.27.0", path = "../gix-worktree", default-features = false, features = ["attributes"] }
2625

2726
thiserror = "1.0.26"
2827
filetime = "0.2.15"
2928
bstr = { version = "1.3.0", default-features = false }
30-

gix-status/src/index_as_worktree/function.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ use crate::{
2424
/// `submodule` which can take a look at submodules in detail to produce status information (BASE version if its conflicting).
2525
/// `options` are used to configure the operation.
2626
///
27-
/// Note that `index` may require changes to be up-to-date with the working tree and avoid expensive computations by updating respective entries
28-
/// with stat information from the worktree, and its timestamp is adjusted to the current time for which it will be considered fresh
29-
/// as long as it is included which depends on `pathspec`. All this is delegated to the caller.
27+
/// Note that `index` may require changes to be up-to-date with the working tree and avoid expensive computations by updating
28+
/// respective entries with stat information from the worktree, and its timestamp is adjusted to the current time for which it
29+
/// will be considered fresh. All changes that would be applied to the index are delegated to the caller, which receives these
30+
/// as [`EntryStatus`].
31+
/// The `pathspec` is used to determine which index entries to check for status in the first place.
3032
///
3133
/// `should_interrupt` can be used to stop all processing.
3234
/// `filter` is used to convert worktree files back to their internal git representation. For this to be correct,

0 commit comments

Comments
 (0)