From: Martin Storsjö Date: Mon, 11 Sep 2023 19:20:33 GMT Subject: Re: [PATCH] diff --no-index: fix -R with stdin Message-ID: In-Reply-To: <22fdfa3b-f90e-afcc-667c-705fb7670245@web.de> On Sun, 10 Sep 2023, René Scharfe wrote: > When -R is given, queue_diff() swaps the mode and name variables of the > two files to produce a reverse diff. 1e3f26542a (diff --no-index: > support reading from named pipes, 2023-07-05) added variables that > indicate whether files are special, i.e named pipes or - for stdin. > These new variables were not swapped, though, which broke the handling > of stdin with with -R. Swap them like the other metadata variables. > > Reported-by: Martin Storsjö > Signed-off-by: René Scharfe > --- > Great bug report, thank you! Thanks for the extremely swift response and fix! // Martin