On Thu, Aug 7, 2025 at 8:35 AM Ben Knoble <ben.knoble@xxxxxxxxx> wrote: > > Le 7 août 2025 à 05:20, Denton Liu <liu.denton@xxxxxxxxx> a écrit : > > For better readability, convert the if-else tower into a switch > > statement. > > > > Signed-off-by: Denton Liu <liu.denton@xxxxxxxxx> > > --- > > diff --git a/remote.c b/remote.c > > index 465e0ea0eb..029b1fa93b 100644 > > --- a/remote.c > > +++ b/remote.c > > @@ -1171,7 +1171,6 @@ static void show_push_unqualified_ref_name_error(const char *dst_value, > > > > Range-diff against v1: > > Don’t we normally put single-patch notes like a range-diff right after the triple dash? I have a feeling this format breaks git-am on the receiving side, though I haven’t actually tried it. Not since 2fa04cebfb (format-patch: move range/inter diff at the end of a single patch output, 2024-05-24).