diff options
Diffstat (limited to 'src/bin/ngit/sub_commands/send.rs')
| -rw-r--r-- | src/bin/ngit/sub_commands/send.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/ngit/sub_commands/send.rs b/src/bin/ngit/sub_commands/send.rs index 114a021..1965875 100644 --- a/src/bin/ngit/sub_commands/send.rs +++ b/src/bin/ngit/sub_commands/send.rs | |||
| @@ -45,7 +45,7 @@ pub struct SubCommandArgs { | |||
| 45 | 45 | ||
| 46 | #[allow(clippy::too_many_lines)] | 46 | #[allow(clippy::too_many_lines)] |
| 47 | pub async fn launch(cli_args: &Cli, args: &SubCommandArgs, no_fetch: bool) -> Result<()> { | 47 | pub async fn launch(cli_args: &Cli, args: &SubCommandArgs, no_fetch: bool) -> Result<()> { |
| 48 | let git_repo = Repo::discover().context("cannot find a git repository")?; | 48 | let git_repo = Repo::discover().context("failed to find a git repository")?; |
| 49 | let git_repo_path = git_repo.get_path()?; | 49 | let git_repo_path = git_repo.get_path()?; |
| 50 | 50 | ||
| 51 | let (main_branch_name, main_tip) = git_repo | 51 | let (main_branch_name, main_tip) = git_repo |
| @@ -83,7 +83,7 @@ pub async fn launch(cli_args: &Cli, args: &SubCommandArgs, no_fetch: bool) -> Re | |||
| 83 | } else { | 83 | } else { |
| 84 | git_repo | 84 | git_repo |
| 85 | .parse_starting_commits(&args.since_or_range) | 85 | .parse_starting_commits(&args.since_or_range) |
| 86 | .context("cannot parse specified starting commit or range")? | 86 | .context("failed to parse specified starting commit or range")? |
| 87 | } | 87 | } |
| 88 | }; | 88 | }; |
| 89 | 89 | ||