diff options
Diffstat (limited to 'src/bin/ngit/sub_commands/init.rs')
| -rw-r--r-- | src/bin/ngit/sub_commands/init.rs | 2 |
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)] |
| 49 | pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> { | 49 | pub 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 |