From 5c305e922e19e4ac65c6a1473be67145a1c73f2b Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 25 Feb 2026 16:46:02 +0000 Subject: feat: forward unrecognised push options to git servers Any -o option passed to `git push` that is not handled by ngit (title, description) is forwarded verbatim to the git server via git2::PushOptions::remote_push_options. This allows options such as `-o secret-scanning.skip` to pass through transparently. `ngit send` gains a matching -o / --push-option flag for the same purpose. --- src/bin/ngit/sub_commands/sync.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/bin/ngit/sub_commands/sync.rs') diff --git a/src/bin/ngit/sub_commands/sync.rs b/src/bin/ngit/sub_commands/sync.rs index daebb1b..b377ab4 100644 --- a/src/bin/ngit/sub_commands/sync.rs +++ b/src/bin/ngit/sub_commands/sync.rs @@ -187,6 +187,7 @@ pub async fn launch(args: &SubCommandArgs) -> Result<()> { &refspecs, &term, *is_grasp_server || is_grasp_server_clone_url(url), + &[], ) { Err(error) => { term.write_line(&format!( -- cgit v1.2.3