Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355489 - JGIT CLI does not allow one to configure some options, like streamFileThreshold
Summary: JGIT CLI does not allow one to configure some options, like streamFileThreshold
Status: NEW
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-23 07:28 EDT by Carl Myers CLA
Modified: 2014-01-31 11:40 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!