upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/bin/ngit/sub_commands/init.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/ngit/sub_commands/init.rs')
-rw-r--r--src/bin/ngit/sub_commands/init.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/ngit/sub_commands/init.rs b/src/bin/ngit/sub_commands/init.rs
index 146a29c..9f5093e 100644
--- a/src/bin/ngit/sub_commands/init.rs
+++ b/src/bin/ngit/sub_commands/init.rs
@@ -47,7 +47,7 @@ pub struct SubCommandArgs {
47 47
48#[allow(clippy::too_many_lines)] 48#[allow(clippy::too_many_lines)]
49pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> { 49pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> {
50 let git_repo = Repo::discover().context("cannot find a git repository")?; 50 let git_repo = Repo::discover().context("failed to find a git repository")?;
51 let git_repo_path = git_repo.get_path()?; 51 let git_repo_path = git_repo.get_path()?;
52 52
53 let root_commit = git_repo 53 let root_commit = git_repo