git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Andreas Ericsson
Message 12 of 12 in “ignoring files/directories in git”
  1. mwolfe38Sep 21, 2008
  2. Boaz HarroshSep 21, 2008
  3. Alex RiesenSep 21, 2008
  4. mwolfe38Sep 21, 2008
  5. Tim HarperSep 22, 2008
  6. Dmitry PotapovSep 21, 2008
  7. mwolfe38Sep 22, 2008
  8. Boaz HarroshSep 22, 2008
  9. Dmitry PotapovSep 22, 2008
  10. Boaz HarroshSep 22, 2008
  11. Andreas EricssonSep 22, 2008
  12. Dmitry PotapovSep 22, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.