On Wed, May 1, 2024 at 3:46 AM Junio C Hamano <gitster@xxxxxxxxx> wrote: > > When you write a script that you might want to use as a part of a > hook, for example, you may end up running it inside .git/ and it may > be necessary (depending on what the script does and how it is > written) to tell where you are in the working tree (or if you are in > the working tree in the first place). I misunderstood the purpose of the option initially, but now I understand it. Thank you for your explanation.