upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/sub_commands/push.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-02-08 15:57:05 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2024-02-09 06:51:39 +0000
commit4b0a35583644e703eb615e0724d33fe93aec932b (patch)
treee2b724d7b932c99e4346867a899452b839b57cbc /src/sub_commands/push.rs
parent0b9c7521b035e60ad7c458c1e782623e18a5cc21 (diff)
feat(prs-create): add `PATCH n/n` to content
format patch as a series in the patch event content unless it is 1/1 and there is no pr (cover letter) event
Diffstat (limited to 'src/sub_commands/push.rs')
-rw-r--r--src/sub_commands/push.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sub_commands/push.rs b/src/sub_commands/push.rs
index fac746f..de2a92f 100644
--- a/src/sub_commands/push.rs
+++ b/src/sub_commands/push.rs
@@ -110,6 +110,7 @@ pub async fn launch(cli_args: &Cli) -> Result<()> {
110 &keys, 110 &keys,
111 &repo_ref, 111 &repo_ref,
112 patch_events.last().map(nostr::Event::id), 112 patch_events.last().map(nostr::Event::id),
113 None,
113 ) 114 )
114 .context("cannot make patch event from commit")?, 115 .context("cannot make patch event from commit")?,
115 ); 116 );