Re: [RFC] Removing deleted files after checkout
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- Aug 23, 2005, 22:34 UTC
- Message-ID
- <Pine.LNX.4.63.0508231830280.23242@iabervon.org>
- In-Reply-To
- <20050823222151.GA15321@hpsvcnb.fc.hp.com>
On Tue, 23 Aug 2005, Carl Baldwin wrote:
Show 7 quoted lines
> 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*