git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.
Previous: Nguyen Thai Ngoc DuyNext: Richard Hartmann
Message 6 of 12 in “Cloning into an existing, non-empty directory?”
  1. Richard HartmannApr 21, 2011
  2. Jonathan NiederApr 21, 2011
  3. Richard HartmannApr 22, 2011
  4. Jonathan NiederApr 23, 2011
  5. Nguyen Thai Ngoc DuyApr 23, 2011
  6. Jonathan NiederApr 23, 2011
  7. Richard HartmannApr 23, 2011
  8. Jonathan NiederApr 25, 2011
  9. Andreas SchwabApr 25, 2011
  10. Jonathan NiederApr 25, 2011
  11. Jeff KingApr 25, 2011
  12. Richard HartmannApr 25, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.