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

Re: Add an empty directory?

From
CBCarl Baldwin <cnb@fc.hp.com>
Date
Aug 13, 2005, 18:19 UTC
Message-ID
<20050813181945.GA2191@hpsvcnb.fc.hp.com>
In-Reply-To
<20050813180008.GJ5608@pasky.ji.cz>
Hi,
On Sat, Aug 13, 2005 at 08:00:08PM +0200, Petr Baudis wrote:
Show 5 quoted lines
> the object databases supports it, but the index file does not. But yes,
> it should be supported, I think.
> 
> Some argue that this is useless, so some practical example of its
> usefulness might be a good motivation to get us going. :-)

That's fair. So, here goes. I don't particularly condone nor condemn any of these.

- Just yesterday, I was starting a project at work.  I wanted to add a
  doc directory as a reminder to add documentation very soon.  I could
  not do this.
- I've worked with projects that use an obj, .obj, .obj-platform or
  something resembling this and have checked in this directory to make
  sure it exists for all.  Of course, a build system could be made to
  generate this directory when needed avoiding the need to check it in.
- A common practice I've seen with autotools is to use a config
  subdirectory for many of the autogenerated scripts.  If I'm not
  mistaken older versions would not create this directory if it did not
  already exist.  Checking it in was a convenience.

The bottom line is that I don't really see many situations where it is absolutely necessary but it is a convenience. Not supporting it may seem like an artificial limit that really didn't need to be there.

I'll read up on the index file when I get the chance.

Cheers, Carl

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Carl Baldwin                        Systems VLSI Laboratory
 Hewlett Packard Company
 MS 88                               work: 970 898-1523
 3404 E. Harmony Rd.                 work: Carl.N.Baldwin@hp.com
 Fort Collins, CO 80525              home: Carl@ecBaldwin.net
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Previous: Petr BaudisNext: Linus Torvalds
Message 3 of 7 in “Add an empty directory?”
  1. Carl BaldwinAug 13, 2005
  2. Petr BaudisAug 13, 2005
  3. Carl BaldwinAug 13, 2005
  4. Linus TorvaldsAug 13, 2005
  5. Petr BaudisAug 13, 2005
  6. Carl BaldwinAug 13, 2005
  7. Junio C HamanoAug 13, 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.