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/push.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/push.rs')
| -rw-r--r-- | src/sub_commands/push.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sub_commands/push.rs b/src/sub_commands/push.rs index fdaab8e..651b250 100644 --- a/src/sub_commands/push.rs +++ b/src/sub_commands/push.rs | |||
| @@ -75,7 +75,7 @@ pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> { | |||
| 75 | let most_recent_proposal_patch_chain = get_most_recent_patch_with_ancestors(commit_events) | 75 | let most_recent_proposal_patch_chain = get_most_recent_patch_with_ancestors(commit_events) |
| 76 | .context("cannot get most recent patch for proposal")?; | 76 | .context("cannot get most recent patch for proposal")?; |
| 77 | 77 | ||
| 78 | let branch_tip = git_repo.get_tip_of_local_branch(&branch_name)?; | 78 | let branch_tip = git_repo.get_tip_of_branch(&branch_name)?; |
| 79 | 79 | ||
| 80 | let most_recent_patch_commit_id = str_to_sha1( | 80 | let most_recent_patch_commit_id = str_to_sha1( |
| 81 | &get_commit_id_from_patch( | 81 | &get_commit_id_from_patch( |