mirror of
https://github.com/msfjarvis/gitice
synced 2025-08-14 11:47:01 +05:30
Tweak lockfile output
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
444dea3e03
commit
3d12c9528f
1 changed files with 1 additions and 3 deletions
|
@ -5,7 +5,6 @@ use walkdir::WalkDir;
|
||||||
|
|
||||||
#[derive(Debug, Serialize, Deserialize)]
|
#[derive(Debug, Serialize, Deserialize)]
|
||||||
struct PersistableRepo {
|
struct PersistableRepo {
|
||||||
pub(crate) path: String,
|
|
||||||
pub(crate) remote_url: String,
|
pub(crate) remote_url: String,
|
||||||
pub(crate) head: String,
|
pub(crate) head: String,
|
||||||
}
|
}
|
||||||
|
@ -46,9 +45,8 @@ fn main() -> anyhow::Result<()> {
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.to_string();
|
.to_string();
|
||||||
repos.insert(
|
repos.insert(
|
||||||
path.clone(),
|
path,
|
||||||
PersistableRepo {
|
PersistableRepo {
|
||||||
path,
|
|
||||||
remote_url: remote.url().unwrap_or("None").to_owned(),
|
remote_url: remote.url().unwrap_or("None").to_owned(),
|
||||||
head: head.to_owned(),
|
head: head.to_owned(),
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue