Git development
 help / color / mirror / Atom feed
From: Matthieu Moy <Matthieu.Moy@imag.fr>
To: Jakub Narebski <jnareb@gmail.com>
Cc: "Alexander Gladysh" <agladysh@gmail.com>, git@vger.kernel.org
Subject: Re: [Q] Tell Git to follow symlinks?
Date: Mon, 25 Feb 2008 11:06:28 +0100	[thread overview]
Message-ID: <vpqtzjxbba3.fsf@bauges.imag.fr> (raw)
In-Reply-To: <m3k5ktbep1.fsf@localhost.localdomain> (Jakub Narebski's message of "Mon\, 25 Feb 2008 00\:52\:48 -0800 \(PST\)")

Jakub Narebski <jnareb@gmail.com> writes:

> "Alexander Gladysh" <agladysh@gmail.com> writes:
>
>> I thought to construct my repo of the number of symlinks to other
>> places, but apparently Git does not follow any symlinks.
>
> Git stores symlinks as symlinks. Changing that (adding for example
> core.followSymlinks) would require quite a bit of surgery.

In particular, this would raise the question of what to do when
writting to a symlink. Following symlinks when doing a checkout or a
merge could mean to allow git to write outside its working tree, which
is problematic security-wise.

-- 
Matthieu

      reply	other threads:[~2008-02-25 10:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-24 11:05 [Q] Tell Git to follow symlinks? Alexander Gladysh
2008-02-24 15:08 ` Remi Vanicat
2008-02-24 18:22   ` Alexander Gladysh
2008-02-25  5:54   ` David Tweed
2008-02-25  8:52 ` Jakub Narebski
2008-02-25 10:06   ` Matthieu Moy [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=vpqtzjxbba3.fsf@bauges.imag.fr \
    --to=matthieu.moy@imag.fr \
    --cc=agladysh@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=jnareb@gmail.com \
    /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