Re: [PATCH 1/2] diff: document behavior of relative diff.orderFile
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 10, 2017, 20:19 UTC
- Message-ID
- <xmqq4m16sm5v.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <e100d30a-5ee8-8485-5012-f9b1c6961ffa@google.com>
Richard Hansen <hansenr@google.com> writes:
Show 7 quoted lines
> On 2017-01-10 01:58, Jeff King wrote: > ... >> What happens in a bare repository? >> >> I'm guessing it's relative to the top-level of the repository, > > I just tried it out and it's relative to $PWD.
That is understandable. When the user says
$ cmd -O $file
with any option -O that takes a filename, it is most natural if we used $PWD/$file when $file is not absolute path.