Re: Cloning into an existing, non-empty directory?
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Apr 23, 2011, 10:37 UTC
- Message-ID
- <20110423103758.GA1883@elie>
- In-Reply-To
- <BANLkTi=uNpruRhPcxKMUy4CH2V5q-z9U7Q@mail.gmail.com>
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.