Re: Re* Unexpected behavior with the rev-parse operation
- From
Toru Okugawa <castor.4bit@gmail.com>
- Date
- May 1, 2024, 04:55 UTC
- Message-ID
- <CANHPH1-rdP6V_9P3mA+hMpDqVGkskBqrL6tJLYfePBv=WutCjg@mail.gmail.com>
- In-Reply-To
- <xmqqedamzo17.fsf@gitster.g>
On Wed, May 1, 2024 at 3:46 AM Junio C Hamano <gitster@pobox.com> wrote:
Show 6 quoted lines
> > 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.