Problem adding a symlinkg

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Problem adding a symlinkg

From: Arnaud Bailly <hidden>
Date: 2016-06-15 22:48:13

Hello,
I am trying to add some symlink to git and got the following error:

error: readlink("protoc/Linux-x86-2.6.28/lib/libprotobuf-lite.so"): Invalid
argument
error: unable to index file protoc/Linux-x86-2.6.28/lib/libprotobuf-lite.so
fatal: adding files failed

I thought it was possible to add symlinks to git. What  am I doing wrong ?

THanks for your help
Arnaud
-- 
View this message in context: http://n2.nabble.com/Problem-adding-a-symlinkg-tp4553010p4553010.html
Sent from the git mailing list archive at Nabble.com.

Re: Problem adding a symlinkg

From: Alex Riesen <hidden>
Date: 2016-06-15 22:48:13

On Thu, Feb 11, 2010 at 07:17, Arnaud Bailly [off-list ref] wrote:
I am trying to add some symlink to git and got the following error:

error: readlink("protoc/Linux-x86-2.6.28/lib/libprotobuf-lite.so"): Invalid argument
Is the file in fact a symlink? Maybe it was replaced by a file while
Git was adding it?
If it is reproducable, could you strace "git add" and post the trace here?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help