Skip to content

Commit cbc9ba9

Browse files
committed
remove unnecessary git-date dependency
1 parent efefac4 commit cbc9ba9

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
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.

gitoxide-core/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ git-transport-configuration-only = { package = "git-transport", version = "^0.20
4242
git-commitgraph = { version = "^0.8.2", path = "../git-commitgraph" }
4343
git-config = { version = "^0.7.1", path = "../git-config" }
4444
git-features = { version = "^0.22.4", path = "../git-features" }
45-
git-date = { version = "^0.1.0", path = "../git-date" }
4645
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }
4746
anyhow = "1.0.42"
4847
thiserror = "1.0.34"

gitoxide-core/src/repository/revision/explain.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use anyhow::bail;
22
use git::{
3-
bstr::{BStr, BString, ByteSlice},
3+
bstr::{BStr, BString},
44
revision::plumbing::{
55
spec,
66
spec::parse::{
@@ -97,7 +97,7 @@ impl<'a> delegate::Revision for Explain<'a> {
9797
ReflogLookup::Date(time) => writeln!(
9898
self.out,
9999
"Find entry closest to time {} in reflog of '{}' reference",
100-
time.format(git_date::time::format::ISO8601),
100+
time.format(git::date::time::format::ISO8601),
101101
ref_name
102102
)
103103
.ok(),

0 commit comments

Comments
 (0)