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

git clone broken in next

From
Kevin Ballard <kevin@sb.org>
Date
May 15, 2008, 03:54 UTC
Message-ID
<BB5BF79E-ECAE-4F63-AFF1-8C13F23D3D10@sb.org>

Something's horribly wrong in next. I just installed the latest from next and then ran

   git clone git://github.com/kballard/github-gem.git

The resulting repo had absolutely nothing in the workdir. `git status` claims every single file is deleted but not updated. `git checkout -f HEAD` fixed the workdir.

This is 100% repeatable with different repositories.

$ git --version git version 1.5.5.1.373.gce4aa

(this is the tip of next plus a single documentation patch).

Oddly, all of the tests with "clone" in their name seem to be passing just fine.

Ok, after running a git-bisect, I narrowed it down to 8434c2f1afedb936e0ea8c07ce25733013c2f743 (Build in clone).

My system is Mac OS X 10.5.2.
-- 
Kevin Ballard
http://kevin.sb.org
kevin@sb.org
http://www.tildesoft.com
Next: Jeff King
Message 1 of 7 in “git clone broken in next”
  1. Kevin BallardMay 15, 2008
  2. Jeff KingMay 15, 2008
  3. Jeff KingMay 15, 2008
  4. builtin-clone: fix initial checkoutJohannes Schindelin, May 15, 2008
  5. Jeff KingMay 15, 2008
  6. Daniel BarkalowMay 15, 2008
  7. Kevin BallardMay 15, 2008

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.