From: Omar Polo Subject: Re: small got commit temp-diff fix To: Stefan Sperling Cc: gameoftrees@openbsd.org Date: Tue, 01 Nov 2022 09:01:44 +0100 On 2022/11/01 08:51:50 +0100, Stefan Sperling wrote: > There is already a flag which tells us whether any staged files exist in > the work tree. Use it instead of looking at a per-file flag to figure > out whether the diff header should say "staged changes". Otherwise we > can get the header wrong if we come across a file that is not staged > before we see a staged file. > > ok? ok