On 12/09/14 11:15, Ian Dickinson wrote:
> I'm generally in favour of the move to git, but I have a question. At
> the moment, I bake a subset of Jena .jars into my jena-jruby project
> (https://rubygems.org/gems/jena-jruby). I do this by svn co'ing the
> jena-tdb module, and then getting mvn to download the dependencies
> specified in the module's pom.
> 
> I don't think it would be appropriate or useful to bake all of Jena
> into the project (I could be persuaded otherwise, but Fuseki, for
> example, doesn't seem to fit). Git, in my experience, has difficulty
> letting you check out just part of the project tree. Any suggestion as
> to how I could adapt my approach to work with a gitified Jena?

You can do this now (from git 1.7.0), although it isn't as simple as svn
-- no single command I'm afraid. The feature you want is called
'sparse-checkout'. [1]

Damian

[1]
<http://jasonkarns.com/blog/subdirectory-checkouts-with-git-sparse-checkout/>

-- 
Damian Steer
Senior Technical Researcher
Research IT
+44 (0) 117 928 7057

Reply via email to