From: Jonathan Nieder Date: Sat, 23 Apr 2011 10:37:58 GMT Subject: Re: Cloning into an existing, non-empty directory? Message-ID: <20110423103758.GA1883@elie> In-Reply-To: Nguyen Thai Ngoc Duy wrote: >> Richard Hartmann wrote: >>> 2) running `git pull` as suggested results in: >>> >>> fatal: /usr/lib/git-core/git-pull cannot be used without a working tree. [...] > Does this patch help? > > http://article.gmane.org/gmane.comp.version-control.git/150986 That's what I was thinking of but on second thought that can't be it. Richard's script does chdir into $GIT_WORK_TREE. So it's still puzzling, and a reduced testcase would be nice. :) Thanks, both, and sorry for the nonsense.