Skip to content

Commit

Permalink
fix: remove unused dependency and assure we get the right ctime on po…
Browse files Browse the repository at this point in the history
…six at least.
  • Loading branch information
Byron committed Oct 30, 2023
1 parent 29e45d1 commit b9b21f3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions gix-status/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ gix-hash = { version = "^0.13.1", path = "../gix-hash" }
gix-object = { version = "^0.38.0", path = "../gix-object" }
gix-path = { version = "^0.10.0", path = "../gix-path" }
gix-features = { version = "^0.36.0", path = "../gix-features" }
gix-pathspec = { version = "^0.4.0", path = "../gix-pathspec" }
gix-filter = { version = "^0.6.0", path = "../gix-filter" }
gix-worktree = { version = "^0.27.0", path = "../gix-worktree", default-features = false, features = ["attributes"] }

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

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

0 comments on commit b9b21f3

Please sign in to comment.