Re: relative objects/info/alternates doesn't work on remote SMB repo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 30, 2012 at 3:51 PM, Nguyen Thai Ngoc Duy <pclouds@xxxxxxxxx> wrote:
>
> On Wed, Aug 29, 2012 at 1:43 PM, Orgad and Raizel Shaneh
> <orgads@xxxxxxxxx> wrote:
> > Hi,
> >
> > I have a repo accessed through //server/share/foo/repo (Using msysgit).
> >
> > .git/objects/info/alternates contains '../../../bare/objects'
> >
> > Running 'git status' (or almost any other action) gives the following
> > output:
> > error: object directory /server/share/foo/bare/objects does not exist;
> > check .git/objects/info/alternates.
> >
> > Note that it tries to access /server instead of //server.
>
> 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?
> --
> Duy

git rev-parse --git-dir in a subdirectory has //server

setting GIT_OBJECT_DIRECTORY prints "fatal: bad object HEAD" on git status.

- Orgad
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]