From: Nguyen Thai Ngoc Duy Date: Thu, 30 Aug 2012 13:22:12 GMT Subject: Re: relative objects/info/alternates doesn't work on remote SMB repo Message-ID: In-Reply-To: On Thu, Aug 30, 2012 at 8:12 PM, Orgad and Raizel Shaneh wrote: >> Could be path normalization. What does "git rev-parse --git-dir" say? >> Try to run it at top working directory and a subdirectory as well. >> >> If you set GIT_OBJECT_DIRECTORY environment variable to >> //server/share/foo/repo/.git/objects, does it work? > > git rev-parse --git-dir in a subdirectory has //server Hmm where is your git repository? That does not look like a git repository's path. > setting GIT_OBJECT_DIRECTORY prints "fatal: bad object HEAD" on git status. I guessed you put your repo in .../repo/.git, but I was probably wrong. Try setting again, pointing GIT_OBJECT_DIRECTORY to the "objects" directory inside your repository. I just want to make see if it's because git miscalculates this path. If setting the env variable works, then it probably does. -- Duy -- *** Please reply-to-all at all times *** *** (do not pretend to know who is subscribed and who is not) *** *** Please avoid top-posting. *** The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free. You received this message because you are subscribed to the Google Groups "msysGit" group. To post to this group, send email to msysgit@googlegroups.com To unsubscribe from this group, send email to msysgit+unsubscribe@googlegroups.com For more options, and view previous threads, visit this group at http://groups.google.com/group/msysgit?hl=en_US?hl=en