From: Junio C Hamano Date: Wed, 06 Aug 2008 15:38:04 GMT Subject: Re: something fishy with Git commit and log from file Message-ID: <7v3alirw6b.fsf@gitster.siamese.dyndns.org> In-Reply-To: <4899848C.6030800@obry.net> Pascal Obry writes: > So definitely a Git bug! Can be reproduced with: > > $ mkdir repo && cd repo > $ git init > $ mkdir dir > $ cd dir > $ echo file > file > $ echo log > log > $ git add file > $ git commit --file=log > fatal: could not read log file 'log': No such file or directory Try it without cding down to "dir".