From 701668b02d999af42f51d8bd25fffb2a8692c3c8 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 16 Feb 2024 22:31:29 +0000 Subject: 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. --- src/sub_commands/send.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sub_commands/send.rs') 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<()> { // oldest first ahead.reverse(); - let events = generate_pr_and_patch_events( + let events = generate_cover_letter_and_patch_events( cover_letter_title_description.clone(), &git_repo, &ahead, @@ -369,7 +369,7 @@ mod tests_unique_and_duplicate { pub static PATCH_KIND: u64 = 1617; -pub fn generate_pr_and_patch_events( +pub fn generate_cover_letter_and_patch_events( cover_letter_title_description: Option<(String, String)>, git_repo: &Repo, commits: &Vec, -- cgit v1.2.3