Skip to content

Commit

Permalink
make it compile after gix upgrade
Browse files Browse the repository at this point in the history
* `cargo update winnnow`
* one API adaptation
  • Loading branch information
Byron committed Aug 27, 2024
1 parent 884151f commit e1f8658
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion src/info/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn get_version(repo: &Repository, manifest: Option<&Manifest>) -> Result<String>
let mut version = String::new();
let mut most_recent = 0;

for tag in repo.references()?.tags()?.peeled().filter_map(Result::ok) {
for tag in repo.references()?.tags()?.peeled()?.filter_map(Result::ok) {
if let Ok(commit) = tag.id().object()?.try_into_commit() {
let current_time = commit.time()?.seconds;
if current_time > most_recent {
Expand Down

0 comments on commit e1f8658

Please sign in to comment.