diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-03-22 15:51:31 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-03-22 15:51:31 +0000 |
| commit | f7d520e9ccb6084144a3e963516e40a322add0c8 (patch) | |
| tree | ff166ff791d4cd744fd4818d853a558aefb87877 /src/git.rs | |
| parent | 07a6b27eacc9cb80b0858ae8d7042287567ea790 (diff) | |
use Sha1Hashin new location
it had moved from 'prelude' to 'hashes'
Diffstat (limited to 'src/git.rs')
| -rw-r--r-- | src/git.rs | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -4,7 +4,7 @@ use std::{env::current_dir, path::Path}; | |||
| 4 | 4 | ||
| 5 | use anyhow::{bail, Context, Result}; | 5 | use anyhow::{bail, Context, Result}; |
| 6 | use git2::{DiffOptions, Oid, Revwalk}; | 6 | use git2::{DiffOptions, Oid, Revwalk}; |
| 7 | use nostr::prelude::{sha1::Hash as Sha1Hash, Hash}; | 7 | use nostr_sdk::hashes::{sha1::Hash as Sha1Hash, Hash}; |
| 8 | 8 | ||
| 9 | use crate::sub_commands::list::{get_commit_id_from_patch, tag_value}; | 9 | use crate::sub_commands::list::{get_commit_id_from_patch, tag_value}; |
| 10 | 10 | ||