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

Error 128 Clone succeeded, but checkout failed

From
Wwarren.l.dodge@tektronix.com <warren.l.dodge@tektronix.com>
Date
Jun 18, 2014, 23:03 UTC
Message-ID
<05c29ee7-8629-424e-b2db-de49db976e55@US-BV-EXH02-P.global.tektronix.net>

I have looked for an answer to the Error 128 Clone succeeded, but checkout failed message we are getting on a clone command. And there does not seem to be any that relates to our situation.

The repository is on a local file server system that is mounted to the pc as L:
If we clone the repository on to the L: directory structure we get the following
git.exe clone      --progress -v  L:\GIT_REPOSITORY L:\warrend\fail
Cloning into L:\warrend\fail
Done.
Fatal: unable to read "Long hash key"
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
Git did not exit cleanly (exit code 128) ( time and date etc)
At this point there is only a .git directory at the destination
We have another drive mounted as X: which utilizes a different file server. If we do this
git.exe clone      --progress -v  L:\GIT_REPOSITORY X:\warrend\works
It will clone and do the checkout properly.
These does not seem to be any permission or disk space problems on the L: drive. We are unable to figure out why this is happening.
I copied the two .git directories to a linux file system and did a diff -r of them and found this

Bad one doesn't have the putty line for some reason diff -r fail/.git/config works/.git/config 12d11 < puttykeyfile =

There was no index file in the bad tree. The config file which is in both trees was made after the index file. Only in .git: index

I was hoping there was a debug method that would allow us to see what the actual check was that is failing. Any help on this would be greatly appreciated.

Next: brian m. carlson
Message 1 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.