Re: ignoring files/directories in git
- From
Dmitry Potapov <dpotapov@gmail.com>
- Date
- Sep 22, 2008, 12:19 UTC
- Message-ID
- <20080922121920.GL21650@dpotapov.dyndns.org>
- In-Reply-To
- <48D77643.1090908@panasas.com>
On Mon, Sep 22, 2008 at 01:41:07PM +0300, Boaz Harrosh wrote:
> > Ok I found it. Regular subdirectories it works as you said, > but soft-link to a folder does not.
Why should it? Git does not follow symbolic links regardless whether they point to files or directories. In fact, Git does extra checks to avoid something like: symlink-to-dir/normal-file to be added as a normal file. There was some discussion about it a couple months ago ("Not going beyond symbolic links").
Dmitry