git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* error with symlinks on OSX
@ 2007-03-15 17:12 Seth Falcon
  2007-03-15 19:44 ` Shawn O. Pearce
  0 siblings, 1 reply; 3+ messages in thread
From: Seth Falcon @ 2007-03-15 17:12 UTC (permalink / raw
  To: git

Hi,

I've been tracking an svn repository using git-svn and today when I
did:

   git svn rebase

   (which is equivalent to git svn fetch && git rebase
   remotes/git-svn)

I got errors like this:

error: git-checkout-index: unable to create symlink Category/Makefile (Invalid argument)

Now while my file system isn't smart enough to tell the difference
between t and T, it does support symlinks AFAIK.

git version 1.5.0.2.293.g102a0

I can provide more info if it would help.

+ seth

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: error with symlinks on OSX
  2007-03-15 17:12 error with symlinks on OSX Seth Falcon
@ 2007-03-15 19:44 ` Shawn O. Pearce
  2007-03-15 22:19   ` Seth Falcon
  0 siblings, 1 reply; 3+ messages in thread
From: Shawn O. Pearce @ 2007-03-15 19:44 UTC (permalink / raw
  To: Seth Falcon; +Cc: git

Seth Falcon <sethfalcon@gmail.com> wrote:
> error: git-checkout-index: unable to create symlink Category/Makefile (Invalid argument)
> 
> Now while my file system isn't smart enough to tell the difference
> between t and T, it does support symlinks AFAIK.

Yes, it does support symlinks.  Is it possible that the name Category
already existed, but as a file?  Hmm.
 
-- 
Shawn.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: error with symlinks on OSX
  2007-03-15 19:44 ` Shawn O. Pearce
@ 2007-03-15 22:19   ` Seth Falcon
  0 siblings, 0 replies; 3+ messages in thread
From: Seth Falcon @ 2007-03-15 22:19 UTC (permalink / raw
  To: Shawn O. Pearce; +Cc: git

"Shawn O. Pearce" <spearce@spearce.org> writes:

> Seth Falcon <sethfalcon@gmail.com> wrote:
>> error: git-checkout-index: unable to create symlink Category/Makefile (Invalid argument)
>> 
>> Now while my file system isn't smart enough to tell the difference
>> between t and T, it does support symlinks AFAIK.
>
> Yes, it does support symlinks.  Is it possible that the name Category
> already existed, but as a file?  Hmm.

I think in the revision before the update, there was a file
Category/Makefile and that it was replaced by a symlink.

So Category is/was a dir.  Category/Makefile was a file and became a
symlink.  Note that I am using git-svn to track an svn repository and
so the problem could be there.

However, I'm not sure where to look or what experiment to try next.

If I checkout an old revision prior to the file becoming a symlink and
then checkout master, I get:

git checkout -b foobar 74227bbd35a77b8
Switched to a new branch "foobar"
git checkout master
D       Category/Makefile
[...snip...]
D       vsn/Makefile
Switched to branch "master"

git reset --hard HEAD
error: git-checkout-index: unable to create symlink Category/Makefile (Invalid argument)
[...snip...]
error: git-checkout-index: unable to create symlink vsn/Makefile (Invalid argument)
HEAD is now at 30bd65d... the commit msg here


-- 
Seth

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-15 22:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-15 17:12 error with symlinks on OSX Seth Falcon
2007-03-15 19:44 ` Shawn O. Pearce
2007-03-15 22:19   ` Seth Falcon

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).