From: Nguyen Thai Ngoc Duy Date: Sun, 06 Feb 2011 04:42:54 GMT Subject: Re: [1.8.0] Tracking empty directories Message-ID: In-Reply-To: <201102051931.10979.thomas@koch.ro> On Sun, Feb 6, 2011 at 1:31 AM, Thomas Koch wrote: > Jakub Narebski: >> there is (supposedly) problem when checking out such tree (see email >> referenced above) with an old git. > Proposal: > (Elaborate the "handle" part from your first item) - Teach diff machinery about empty trees. At least diff-tree should show empty tree addition/removal. diff-index and diff-files can learn later when index supports empty trees. - Teach merge empty trees. > - Implement the possibility to checkout/read/handle empty directories as soon > as possible, even in the next 1.7.x release. > - Don't implement the possibility to create/commit empty directories yet. > - Implement the possibility to checkin empty directories next year, but allow > it only, if the user knows that this breaks backwards compatibility of the > repo. (Generate warning and require --commit-empty-directories option) -- Duy