Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] Using LFS fails with NPE

I'm trying to add JGit LFS support to the Jenkins git client plugin to match the existing command line git LFS support.  The LfsFactory.getInstance() returns a non-null, but the getInstallCommand() always returns a null value.

What am I missing?

Code is at https://github.com/MarkEWaite/git-client-plugin/blob/0a184fe2097249841cf3b598a71046ddf607bddf/src/main/java/org/jenkinsci/plugins/gitclient/JGitAPIImpl.java#L325

The test code which exercises it is "mvn clean -Dtest=GitClientTest test".  

Mark Waite

Back to the top