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

Windows version of git unable to pull from OSX version of git

From
MRmax roth <maxrothca@gmail.com>
Date
May 7, 2008, 16:49 UTC
Message-ID
<B80595C2-5905-4061-A2F6-4D83B6706668@gmail.com>

I have two repositories on my OSX partition that work perfect. When I dual boot into windows, I want to clone the project. I've installed cygwin/git and have the osx drive mounted on Z: . I can't seem to do a git submodule update in windows under cygwin without getting errors (the same commands work fine when I am booted into OSX). I've tried both the cygwin and msysgit, and they both exhibit the same problem.

$ git submodule update Initialized empty Git repository in /cygdrive/d/Visual Studio Projects/ project/base/.git/ Submodule path 'base': checked out '745659513bf3bbd1e57ac26a99101a200a42a97a' Initialized empty Git repository in /cygdrive/d/Visual Studio Projects/ project/common/.git/ fatal: git-upload-pack: cannot find object 016f0e3580a263d441a246e74e27d6c73960e 524: fatal: The remote end hung up unexpectedly Clone of '/cygdrive/z/Users/max/git_repositories/common/.git' into submodule path 'common' failed

max@m-ff21e0b3bd974 /cygdrive/z/Users/max/git_repositories/test7 $ git submodule update Initialized empty Git repository in /cygdrive/z/Users/max/ git_repositories/test7/base/.git/ error: index file ./objects/pack/ pack-65a6edbb59ff536215053396a58386692ac7e067.idx is too small error: index file ./objects/pack/ pack-65a6edbb59ff536215053396a58386692ac7e067.idx is too small fatal: git-upload-pack: cannot find object 25ee9b0c85086b830e4d4c9eda6bd7bd5dd85 ee2: fatal: The remote end hung up unexpectedly Clone of '/cygdrive/z/Users/max/git_repositories/project/.git' into submodule path 'base' failed

Any ideas? I've tried git gc to fix any problems but it returns fine. git fsck warns of dangling binary blobs but that's it. I've also tried to copy the git repositories over to the windows partition but the error is identical. Any help is appreciated. I don't want to go back to SVN :-(

Message 1 of 1 in “Windows version of git unable to pull from OSX version of git”
  1. max rothMay 7, 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.