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

Re: Error 128 Clone succeeded, but checkout failed

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Jun 19, 2014, 00:24 UTC
Message-ID
<20140619002444.GM368384@vauxhall.crustytoothpaste.net>
In-Reply-To
<C8DDA0C887F79C468978FDEF2DA46F9F0145B453@US-BV-EXM01-P.global.tektronix.net>
On Thu, Jun 19, 2014 at 12:11:43AM +0000, Dodge, Warren L wrote:
> Hi Brian

Hi. Please do keep the list in CC. Someone else may be able to help you better than I.

Show 10 quoted lines
> c:\Program Files (x86)\Git\bin\git.exe" --version
> git version 1.9.4.msysgit.0
> 
> I also had 1.8.?? and it did the same thing so I updated to try that.
> 
> This is exact.
> "c:\Program Files (x86)\Git\bin\git.exe"  clone --progress -v VHDR_GIT_REPOSITORY fail
> Cloning into 'fail'...
> done.
> fatal: unable to read tree a7b8f40dcafba3ec534db6d11e4b928775f26bcd

This means that git is unable to read this object. It could be missing or corrupt.

What do you get if you try to run git fsck --full on this newly cloned repository? I realize it won't have a working directory, but git fsck should still run.

Show 8 quoted lines
> warning: Clone succeeded, but checkout failed.
> You can inspect what was checked out with 'git status'
> and retry the checkout with 'git checkout -f HEAD'
> 
> I didn't get the status code but is was 128 when I did this in bash
> 
> Our file servers are many terabytes and use DFS to break them up into
> the file systems that are used.

From what I can tell of DFS from Wikipedia, it's using SMB under the hood, and I'm not sure how well git works over SMB. Maybe some of the msysgit folks can chime in here?

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
Previous: brian m. carlsonNext: Dodge, Warren L
Message 3 of 4 in “Error 128 Clone succeeded, but checkout failed”
  1. warren.l.dodge@tektronix.comJun 18, 2014
  2. brian m. carlsonJun 18, 2014
  3. brian m. carlsonJun 19, 2014
  4. Dodge, Warren LJun 19, 2014

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.