From 3da781f9e17789a030703db8f61ca2abe21b78a7 Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Sun, 23 Aug 2026 23:05:13 +0200 Subject: [PATCH] remote-helper: Accept option "pushcert if-asked" This fixes issue 135835b572ea898ef5f750b6c27fc0ec6c16e148. --- CHANGELOG.md | 8 ++++++++ crates/radicle-remote-helper/src/main.rs | 11 +++++++++++ 2 files changed, 19 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6dc89470f..58893b908 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +## Fixes + +- The Git remote helper `git-remote-rad` now supports the options + `pushcert [if-asked|false]`. This means it will not refuse operation + anymore if called via `git push --signed=[if-asked|false]`. + ## 1.10.1 - 2026-08-12 ## Improvements diff --git a/crates/radicle-remote-helper/src/main.rs b/crates/radicle-remote-helper/src/main.rs index a39fdf1b0..1b71cac9f 100644 --- a/crates/radicle-remote-helper/src/main.rs +++ b/crates/radicle-remote-helper/src/main.rs @@ -338,6 +338,17 @@ fn run_loop { writeln!(output, "unsupported")?; } + "pushcert" => match value { + Some(value) if value == "false" || value == "if-asked" => { + writeln!(output, "ok")?; + } + Some(_) => { + writeln!(output, "unsupported")?; + } + None => { + writeln!(output, "error missing value for pushcert")?; + } + }, _ => { writeln!(output, "unsupported")?; }