From 8de147768c2de3221d0a119278e76c013d20b0f1 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 29 Feb 2024 12:44:06 +0000 Subject: 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 --- src/sub_commands/send.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/sub_commands') 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<()> { } }; + if let Some(id) = &args.in_reply_to { + println!("as a revision to proposal: {id}"); + } + let title = if args.no_cover_letter { None } else { -- cgit v1.2.3