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

Re: [PATCH] Some documentation...

From
C. Scott Ananian <cscott@cscott.net>
Date
Apr 20, 2005, 17:24 UTC
Message-ID
<Pine.LNX.4.61.0504201321380.2630@cag.csail.mit.edu>
In-Reply-To
<42668C8D.3000209@dgreaves.com>
On Wed, 20 Apr 2005, David Greaves wrote:
> In doing this I noticed a couple of points:
> * update-cache won't accept ./file or fred/./file
The comment in update-cache.c reads:
/*
  * We fundamentally don't like some paths: we don't want
  * dot or dot-dot anywhere, and in fact, we don't even want
  * any other dot-files (.git or anything else). They
  * are hidden, for chist sake.
  *
  * Also, we don't want double slashes or slashes at the
  * end that can make pathnames ambiguous.
  */
It could be argued that './' is a special case... but at the moment this 
is definitely a designed 'feature' not a 'bug'.
  --scott
BLUEBIRD SEQUIN SECANT Waihopai Honduras KUDOVE genetic KUJUMP SCRANTON 
DES AMLASH Indonesia SLINC cracking ESMERALDITE mustard Uzi KUSODA
                          ( http://cscott.net/ )
Previous: David GreavesNext: David Greaves
Message 2 of 4 in “Some documentation...”
  1. Some documentation...David Greaves, Apr 20, 2005
  2. C. Scott AnanianApr 20, 2005
  3. David GreavesApr 20, 2005
  4. Linus TorvaldsApr 20, 2005

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.