upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/sub_commands
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-02-29 12:44:06 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2024-02-29 13:00:02 +0000
commit8de147768c2de3221d0a119278e76c013d20b0f1 (patch)
tree79f9e793dc9a36b6ded9aa748a257730c864ea31 /src/sub_commands
parent8f8bfcb536a56a6fefde62c4a6ba2289be2b88b9 (diff)
feat(send): add proposal revision cli msg
before cover letter prompt primarily this is to make it clearer that a proposal update is being sent when using `ngit push --force` instead of a new proposal
Diffstat (limited to 'src/sub_commands')
-rw-r--r--src/sub_commands/send.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sub_commands/send.rs b/src/sub_commands/send.rs
index 5994f4f..23016e1 100644
--- a/src/sub_commands/send.rs
+++ b/src/sub_commands/send.rs
@@ -96,6 +96,10 @@ pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> {
96 } 96 }
97 }; 97 };
98 98
99 if let Some(id) = &args.in_reply_to {
100 println!("as a revision to proposal: {id}");
101 }
102
99 let title = if args.no_cover_letter { 103 let title = if args.no_cover_letter {
100 None 104 None
101 } else { 105 } else {