From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Schindelin Subject: Re: [RFC PATCH] Re: Empty directories... Date: Thu, 19 Jul 2007 17:17:52 +0100 (BST) Message-ID: References: <85644hxujp.fsf@lola.goethe.zz> <85abttwa7m.fsf@lola.goethe.zz> <7vbqe93qtv.fsf@assigned-by-dhcp.cox.net> <20070719053858.GE32566@spearce.org> <20070719060922.GF32566@spearce.org> <20070719105105.GA4929@moonlight.home> <86wswwa8ej.fsf@lola.quinscape.zz> <7FE87F7A-53AD-4B92-8F33-ECDFAE6A7EFB@silverinsanity.com> <6C96EBA9-CDCE-40EA-B0EC-F9195DBE83DB@silverinsanity.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: git@vger.kernel.org To: Brian Gernhardt X-From: git-owner@vger.kernel.org Thu Jul 19 18:18:28 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1IBYhv-0004Y5-Gy for gcvg-git@gmane.org; Thu, 19 Jul 2007 18:18:27 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936574AbXGSQR7 (ORCPT ); Thu, 19 Jul 2007 12:17:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S936233AbXGSQR6 (ORCPT ); Thu, 19 Jul 2007 12:17:58 -0400 Received: from mail.gmx.net ([213.165.64.20]:50622 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S932843AbXGSQR5 (ORCPT ); Thu, 19 Jul 2007 12:17:57 -0400 Received: (qmail invoked by alias); 19 Jul 2007 16:17:56 -0000 Received: from unknown (EHLO [138.251.11.74]) [138.251.11.74] by mail.gmx.net (mp002) with SMTP; 19 Jul 2007 18:17:56 +0200 X-Authenticated: #1490710 X-Provags-ID: V01U2FsdGVkX1+ENCQqIz2EcHmdF3G+MU7XSOKqkrTZAjklQzJtdI NbbRuj++b1ii7v X-X-Sender: gene099@racer.site In-Reply-To: <6C96EBA9-CDCE-40EA-B0EC-F9195DBE83DB@silverinsanity.com> X-Y-GMX-Trusted: 0 Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: 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_.