diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-02-08 15:57:05 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-02-09 06:51:39 +0000 |
| commit | 4b0a35583644e703eb615e0724d33fe93aec932b (patch) | |
| tree | e2b724d7b932c99e4346867a899452b839b57cbc /src/sub_commands/push.rs | |
| parent | 0b9c7521b035e60ad7c458c1e782623e18a5cc21 (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.rs | 1 |
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 | ); |