Re: [RFC PATCH] Re: Empty directories...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, 19 Jul 2007, Brian Gernhardt wrote:

> On Jul 19, 2007, at 11:43 AM, Johannes Schindelin wrote:
> 
> > I do not like it at all. "." already has a very special meaning.  It 
> > is a _directory_, no place holder.
> 
> And we're talking about using it to describe the directory.
> 
> > More and more I get the impression that this thread is just not worth 
> > it. The problem was solved long ago, and all that is talked about here 
> > is how to complicate things.
> 
> By solved, you mean ignored?  There is no reason for git not to track 
> empty directories other than "we don't like it".

No, no, no, no, no!

You are really trying to annoy me, right?

Here a short description, which you should read until you understand it 
and then leave me alone:

To add a directory to the tracked content, you have to _mark_ it as 
tracked.  So that when you remove the _real_ content of the directory, Git 
will not remove it.

Alas, we already have such a marker.  It is called ".gitignore", and has 
been ignored by _you_.  There is _nothing_ wrong, from a technical 
standpoint, to call this marker ".gitignore", and it is _also_ not wrong 
to put this marker into the file system _in addition_ to the index.

So go and add your directories via that marker, and _be done with it_.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux