From: Daniel Barkalow Date: Tue, 23 Aug 2005 22:34:30 GMT Subject: Re: [RFC] Removing deleted files after checkout Message-ID: In-Reply-To: <20050823222151.GA15321@hpsvcnb.fc.hp.com> On Tue, 23 Aug 2005, Carl Baldwin wrote: > The thing that this doesn't do is remove empty directories when the last > file is deleted. I once expressed the opinion in a previous thread that > directories should be added and removed explicitly in git. (Thus > allowing an empty directory to be added). If this were to happen then > this case would get handled correctly. However, if git stays with the > status quo then I think that git-read-tree -u should be changed to > remove the empty directory. This would make it consistent. I think that git-read-tree -u ought to remove a directory if it removes the last file (or directory) in it. -Daniel *This .sig left intentionally blank*