Seriously.
I sympathize with your point that git should support empty directories.  But as 
a practical matter, it's easy to make the ant build tolerant of them.

~ David Smiley
________________________________________
From: Robert Muir [rcm...@gmail.com]
Sent: Friday, April 16, 2010 6:53 AM
To: solr-dev@lucene.apache.org
Subject: Re: GIT does not support empty directories

Seriously? We should hack our ant files around the bugs in every crappy
source control system that comes out?

Fix Git.

On Thu, Apr 15, 2010 at 10:55 PM, Smiley, David W. <dsmi...@mitre.org>wrote:

> I've run into this too.  I don't think this needs to be documented, I think
> it needs to be *fixed* -- that is, the relevant ant tasks need to not assume
> these directories exist and create them if not.
>
> ~ David Smiley
>
> -----Original Message-----
> From: Lance Norskog [mailto:goks...@gmail.com]
> Sent: Wednesday, April 14, 2010 11:14 PM
> To: solr-dev
> Subject: GIT does not support empty directories
>
> There are some empty directories in the Solr source tree, both in 1.4
> and the trunk.
>
> example/work
> example/webapp
> example/logs
>
> Git does not support empty directories:
>
> https://git.wiki.kernel.org/index.php/GitFaq#Can_I_add_empty_directories.3F
>
> And so, when you check out from the Apache GIT repository, these empty
> directories do not appear and 'ant example' and 'ant run-example'
> fail. There is no 'how to use the solr git stuff' wiki page; that
> seems like the right place to document this. I'm not git-smart enough
> to write that page.
> --
> Lance Norskog
> goks...@gmail.com
>



--
Robert Muir
rcm...@gmail.com

Reply via email to