diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-03-08 16:49:03 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-03-08 17:27:13 +0000 |
| commit | 098b0258fdd581c750099cb463adbddb57843388 (patch) | |
| tree | 000b80fd630083aefef314ec999060c65fb57573 /src/sub_commands/list.rs | |
| parent | 6b3aecbcbde669859533716225e9c3bbfd2023b2 (diff) | |
feat(send): compare against origin/main vs main
catch more errors when proposed commits
are not connected to origin/main branch
improve default selected commits when on main branch
Diffstat (limited to 'src/sub_commands/list.rs')
| -rw-r--r-- | src/sub_commands/list.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sub_commands/list.rs b/src/sub_commands/list.rs index ad5a28d..102c3bd 100644 --- a/src/sub_commands/list.rs +++ b/src/sub_commands/list.rs | |||
| @@ -274,7 +274,7 @@ pub async fn launch(_cli_args: &Cli, _args: &SubCommandArgs) -> Result<()> { | |||
| 274 | }; | 274 | }; |
| 275 | } | 275 | } |
| 276 | 276 | ||
| 277 | let local_branch_tip = git_repo.get_tip_of_local_branch(&cover_letter.branch_name)?; | 277 | let local_branch_tip = git_repo.get_tip_of_branch(&cover_letter.branch_name)?; |
| 278 | 278 | ||
| 279 | // up-to-date | 279 | // up-to-date |
| 280 | if proposal_tip.eq(&local_branch_tip) { | 280 | if proposal_tip.eq(&local_branch_tip) { |