From: "Yakov Lerner" <iler.ml@gmail.com>
To: "Linus Torvalds" <torvalds@osdl.org>
Cc: git@vger.kernel.org
Subject: Re: symlinks
Date: Sun, 7 May 2006 22:28:32 +0300 [thread overview]
Message-ID: <f36b08ee0605071228s40832980k3fd045e8fa0ba84@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0605071104230.3718@g5.osdl.org>
On 5/7/06, Linus Torvalds <torvalds@osdl.org> wrote:
>
>
> On Sun, 7 May 2006, Yakov Lerner wrote:
> >
> > I have a project that makes heavy use of symlinks in the source tree.
> > I added it to git, then cloned the repository, and all symlinks were
> > converted to plain files. What am I missing to preserve symlinks ?
>
> You're not missing anything, it sounds like a bug. What did you use to
> clone, and what version? It definitely doesn't happen for me:
>
> mkdir symlink
> cd symlink/
> git-init-db
> ln -s unknown new-link
> ls -l
> git add new-link
> git commit
>
> cd
> git clone symlink symlink2
> cd symlink2/
> ls -l
>
> shows that the symlink was preserved.
Yes, I see now it's not git problem. I suspect
I just incorrectly copied the files into git-init-db directory,
something like 'cp -r' instead of 'cp -a' or tar/cpio. Sorry I'm
new to git.
Thanks
Yakov
prev parent reply other threads:[~2006-05-07 19:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-07 17:47 symlinks Yakov Lerner
2006-05-07 18:07 ` symlinks Linus Torvalds
2006-05-07 19:28 ` Yakov Lerner [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f36b08ee0605071228s40832980k3fd045e8fa0ba84@mail.gmail.com \
--to=iler.ml@gmail.com \
--cc=git@vger.kernel.org \
--cc=torvalds@osdl.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox