Re: [PATCH] cache-tree: do not cache empty trees
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Feb 16, 2011, 14:29 UTC
- Message-ID
- <201102161530.01017.jnareb@gmail.com>
- In-Reply-To
- <20110215111926.5fdafa1d@chalon.bertin.fr>
On Tue, 15 Feb 2011, Yann Dirson wrote:
> On Mon, 07 Feb 2011 22:30:00 -0600 > Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 7 quoted lines
> > For storage of empty subtrees in repos imported from svn, Yann's idea > > of using .gitattributes somehow (maybe in the parent directory or > > maybe in the subdir itself) seems oddly appealing. > > In fact, I was mostly thinking about only using the > toplevel .gitattributes, if only to avoid the same sort > of clutter caused by the .gitignore-trick.
I was thinking about configuration variable (to keep or automatically delete empty directories), overridable per-pathname basis with .gitattributes, similarly to 'eof' situation.
-- Jakub Narebski Poland