upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-02-17 12:44:13 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-02-17 15:09:03 +0000
commit4cbba068d1ddbd14ba41d75def3ae266989aced8 (patch)
tree866c60a822028c904a848cc453efaa3a23ba658e /src
parent5cc8ae28cb462d2cb0b7f74dfa5238e62d17eb70 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/bin/git_remote_nostr/push.rs2
1 files changed, 1 insertions, 1 deletions
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(
524 )) 524 ))
525 } else { 525 } else {
526 generate_cover_letter_and_patch_events( 526 generate_cover_letter_and_patch_events(
527 None, 527 title_description.cloned(),
528 git_repo, 528 git_repo,
529 ahead, 529 ahead,
530 signer, 530 signer,