Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 355489

Summary: JGIT CLI does not allow one to configure some options, like streamFileThreshold
Product: [Technology] JGit Reporter: Carl Myers <cmyers>
Component: JGitAssignee: Project Inbox <jgit.core-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: lpurvis, matthias.sohn, remy.suen, ruediger.herrmann
Version: 1.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Carl Myers CLA 2011-08-23 07:28:04 EDT
When checking out a large repo, which also contains objects larger than 50MB (the default streamFileThreshold), jgit flips to "stream mode" which is very slow.

Many clients of the jgit library, including its own CLI, do not allow this to be configured or set it correctly.

I suggest the following remedies:
1. Allow this to be configured via System Properties so they can be controlled at the JVM level.
2. It would be nice to have the CLI recognize command-line options to set these.

I will be submitting a patch to make #1 happen soon.

Thanks!