On Fri, Mar 3, 2023 at 3:04 AM Stefan Haller <lists@xxxxxxxxxxxxxxxx> wrote: > It seems that I can get close by checking whether the file > .git/rebase-merge/amend exists. The location and existence of this file depends on Git version and whether you're using added working trees, so that's not generally the right directionA to go. It would be best if `git status` reported all of this information directly: perhaps --porcelain=v2 can be augmented to provide this, or there might even be a --porcelain=v3 if necessary. Of course, you'll still have to do some kind of guesswork for versions of Git that don't produce the right status. In any case someone would need to add the desired information to `git status`. Chris