]> source.dussan.org Git - jgit.git/commitdiff
Merge branch 'stable-6.7' into stable-6.8 06/1174606/1
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 19 Jan 2024 23:40:42 +0000 (00:40 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 19 Jan 2024 23:40:42 +0000 (00:40 +0100)
* stable-6.7:
  Introduce a PriorityQueue sorting RevCommits by commit timestamp
  Remove org.eclipse.jgit.benchmark/.factorypath
  Update jmh to 1.37 for org.eclipse.jgit.benchmark

Change-Id: I5d49a9dc7da17b83243229d4d8d3b9ee0a063e65

1  2 
Documentation/config-options.md
org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevWalk.java

index 84c4f5a664890dc1198f0de7c5aa7dc0cae4c689,810bbc6525c62c95bbceefbf4c41c807b26d5747..ec9d86bd8d505496eaa63eb89372e1dc155ede5a
@@@ -134,18 -134,8 +134,25 @@@ Proxy configuration uses the standard J
  |---------|---------|------------|-------------|
  | `repack.packKeptObjects` | `true` when `pack.buildBitmaps` is set, `false` otherwise | &#x2705; | Include objects in packs locked by a `.keep` file when repacking. |
  
++
+ ## Java System Properties
+ | system property | default | description |
+ |-----------------|---------|-------------|
+ | `REVWALK_USE_PRIORITY_QUEUE` | `false` | If set to `true` `RevWalk` uses `DateRevPriorityQueue` which is faster, otherwise it uses the old `DateRevQueue`. |
++
 +## Tracing
 +
 +**GIT_TRACE_PERFORMANCE**: set this to `true` as a Java system property or environment variable to trace timings from the progress monitor. The system property takes
 +precedence. Defaults to `false`. Can also be set programmatically via `ProgressMonitor#showDuration`.
 +
 +*Example using JGit CLI:*
 +
 +```bash
 +$ GIT_TRACE_PERFORMANCE=true jgit clone https://foo.bar/foobar
 +Cloning into 'foobar'...
 +remote: Counting objects: 1 [0.002s]
 +remote: Finding sources: 100% (15531/15531) [0.006s]
 +Receiving objects:      100% (169737/169737) [13.045s]
 +Resolving deltas:       100% (67579/67579) [1.842s]
 +```