From 4cbba068d1ddbd14ba41d75def3ae266989aced8 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Tue, 17 Feb 2026 12:44:13 +0000 Subject: fix: apply push-options to patch series generation The title and description push-options were previously only applied to PR creation but not to patch series generation. When force-pushing to update an existing patch series, the custom title and description were ignored. This change passes the title_description parameter to the patch generation function, allowing users to customize patch series cover letters via: git push --force --push-option=title="Title" \ --push-option=description="Description" origin branch Includes integration test for force-pushing patches with custom cover letter. --- src/bin/git_remote_nostr/push.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bin/git_remote_nostr') diff --git a/src/bin/git_remote_nostr/push.rs b/src/bin/git_remote_nostr/push.rs index f20c264..43abc8e 100644 --- a/src/bin/git_remote_nostr/push.rs +++ b/src/bin/git_remote_nostr/push.rs @@ -524,7 +524,7 @@ async fn generate_patches_or_pr_event_or_pr_updates( )) } else { generate_cover_letter_and_patch_events( - None, + title_description.cloned(), git_repo, ahead, signer, -- cgit v1.2.3