Richard Hansen <hansenr@xxxxxxxxxx> writes: > 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.