From: Daniel Malendez <dmalendez@googlemail.com>
To: git@vger.kernel.org
Subject: Git doesn't support symlinks
Date: Wed, 25 Mar 2020 19:38:37 -0400 [thread overview]
Message-ID: <CA8EDABA-A41C-4177-A149-51DCD07C319C@googlemail.com> (raw)
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
next reply other threads:[~2020-03-25 23:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-25 23:38 Daniel Malendez [this message]
2020-03-26 0:23 ` Git doesn't support symlinks Bryan Turner
[not found] ` <D3B355BB-BB09-4AA7-8D8A-58B61529D617@googlemail.com>
2020-03-26 0:37 ` Daniel Malendez
2020-03-26 0:50 ` Danh Doan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA8EDABA-A41C-4177-A149-51DCD07C319C@googlemail.com \
--to=dmalendez@googlemail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).