diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-02-16 22:31:29 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-02-16 22:31:29 +0000 |
| commit | 701668b02d999af42f51d8bd25fffb2a8692c3c8 (patch) | |
| tree | 7defd0e7e711d743c8464994c2223a7a332ccf2a /src/sub_commands/send.rs | |
| parent | 61ffbf2008c0aaaee3d19ac027d63bca823dc8c9 (diff) | |
refactor: rename PR to proposal
PR is a problematic term when it ambiguous whether the
set of patches are PR-like or email-patch like.
Diffstat (limited to 'src/sub_commands/send.rs')
| -rw-r--r-- | src/sub_commands/send.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sub_commands/send.rs b/src/sub_commands/send.rs index b8cb271..3a9da4b 100644 --- a/src/sub_commands/send.rs +++ b/src/sub_commands/send.rs | |||
| @@ -140,7 +140,7 @@ pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> { | |||
| 140 | // oldest first | 140 | // oldest first |
| 141 | ahead.reverse(); | 141 | ahead.reverse(); |
| 142 | 142 | ||
| 143 | let events = generate_pr_and_patch_events( | 143 | let events = generate_cover_letter_and_patch_events( |
| 144 | cover_letter_title_description.clone(), | 144 | cover_letter_title_description.clone(), |
| 145 | &git_repo, | 145 | &git_repo, |
| 146 | &ahead, | 146 | &ahead, |
| @@ -369,7 +369,7 @@ mod tests_unique_and_duplicate { | |||
| 369 | 369 | ||
| 370 | pub static PATCH_KIND: u64 = 1617; | 370 | pub static PATCH_KIND: u64 = 1617; |
| 371 | 371 | ||
| 372 | pub fn generate_pr_and_patch_events( | 372 | pub fn generate_cover_letter_and_patch_events( |
| 373 | cover_letter_title_description: Option<(String, String)>, | 373 | cover_letter_title_description: Option<(String, String)>, |
| 374 | git_repo: &Repo, | 374 | git_repo: &Repo, |
| 375 | commits: &Vec<Sha1Hash>, | 375 | commits: &Vec<Sha1Hash>, |