Git doesn't support symlinks

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

 



Hi everyone,

I use `Ubuntu 18.04` with filesystem `ext` and `git 2.26.0`. I want to add a macOS Framework to my git repo, which fails with the following error message:

    $ git add -f /var/opt/project1/Foo.framework/Headers/Interior.h
    fatal: pathspec '/var/opt/project1/Foo.framework/Headers/Interior.h' is beyond a symbolic link

If I use `$ git add .` it works fine. Is this a bug? This is what `ls` returns

    Foo.framework $ ls -l
    lrwxr-xr-x  Headers -> Versions/Current/Headers
    lrwxr-xr-x  Resources -> Versions/Current/Resources
    drwxr-xr-x  Versions

This sounds like a bug, correct? If not, I am thankful for any advice! Thanks!




Best Regards,
Daniel



[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]

  Powered by Linux