Re: Re* Unexpected behavior with the rev-parse operation
From: Toru Okugawa <hidden>
Date: 2024-05-01 04:55:56
From: Toru Okugawa <hidden>
Date: 2024-05-01 04:55:56
On Wed, May 1, 2024 at 3:46 AM Junio C Hamano [off-list ref] 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.