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-14 08:41:02 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2024-02-14 08:47:27 +0000
commitc0847f928c32adb0b4dfc3b73ee77fa3cdb5ec21 (patch)
tree07d89b9a5cb6770b25c22d35a13579df1278db0b /src/sub_commands/push.rs
parent1022344a0529b5f6b50f35d3030a528a1a5c6f91 (diff)
feat!: move `prs create`>`send`, `prs list`>`list`
remove unnecessary hierachy of `prs` which is also a troublesome term replace the concept of `create` which aligns more to the PR github model to `send` which aligns more with the git patch model
Diffstat (limited to 'src/sub_commands/push.rs')
-rw-r--r--src/sub_commands/push.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sub_commands/push.rs b/src/sub_commands/push.rs
index eb42699..cc1f480 100644
--- a/src/sub_commands/push.rs
+++ b/src/sub_commands/push.rs
@@ -10,12 +10,12 @@ use crate::{
10 git::{str_to_sha1, Repo, RepoActions}, 10 git::{str_to_sha1, Repo, RepoActions},
11 login, 11 login,
12 repo_ref::{self, RepoRef}, 12 repo_ref::{self, RepoRef},
13 sub_commands::prs::{ 13 sub_commands::{
14 create::{event_to_cover_letter, generate_patch_event, send_events},
15 list::{ 14 list::{
16 find_commits_for_pr_event, find_pr_events, get_most_recent_patch_with_ancestors, 15 find_commits_for_pr_event, find_pr_events, get_most_recent_patch_with_ancestors,
17 tag_value, 16 tag_value,
18 }, 17 },
18 send::{event_to_cover_letter, generate_patch_event, send_events},
19 }, 19 },
20 Cli, 20 Cli,
21}; 21};