]> source.dussan.org Git - jgit.git/log
jgit.git
10 months agoPackWriterBitmapPreparer: Set limit on excessive branch count 07/1174407/21
Jackson Toeniskoetter [Wed, 10 Jan 2024 21:34:48 +0000 (21:34 +0000)]
PackWriterBitmapPreparer: Set limit on excessive branch count

If there are too many branches then the bitmap
indexing selects only the tip commits of the least active
branches to reduce the amount of bitmaps to load on request.
This can still be a problem if the number of inactive branches
rival or exceed the total number of commits selected
for the active branches.

Limit the number of branches that receive only-tip bitmaps.
This reduces the memory pressure of loading all the bitmaps,
and allows us to model the size of the bitmap index without
considering the number of branches.

Bitmaps are generated for branches in order of most recent commit,
and follow these rules:

* The first {@code DEFAULT_BITMAP_EXCESSIVE_BRANCH_COUNT} most active
  branches have full bitmap coverage.
* The {@code DEFAULT_BITMAP_EXCESSIVE_BRANCH_COUNT} to {@code
  DEFAULT_BITMAP_EXCESSIVE_BRANCH_TIP_COUNT} most active branches have
  only the tip commit covered.
* The remaining branches have no bitmap coverage.

To prevent effecting existing repositories, the default value is set
at Integer.MAX_VALUE.

Change-Id: I7cc53c898cdc04953b95669be0b069543e10c6f8

11 months agoUpdate maven plugins 46/1174046/1
Matthias Sohn [Fri, 22 Dec 2023 23:39:07 +0000 (00:39 +0100)]
Update maven plugins

- com.github.siom79.japicmp:japicmp-maven-plugin to 0.18.3
- com.github.spotbugs:spotbugs-maven-plugin to 4.8.2.0
- io.github.git-commit-id:git-commit-id-maven-plugin to 7.0.0
- org.apache.maven.plugins:maven-clean-plugin to 3.3.2
- org.apache.maven.plugins:maven-compiler-plugin to 3.12.0
- org.apache.maven.plugins:maven-dependency-plugin to 3.6.1
- org.apache.maven.plugins:maven-enforcer-plugin to 3.4.1
- org.apache.maven.plugins:maven-javadoc-plugin to 3.6.3
- org.apache.maven.plugins:maven-jxr-plugin to 3.3.1
- org.apache.maven.plugins:maven-pmd-plugin to 3.21.2
- org.apache.maven.plugins:maven-project-info-reports-plugin to 3.5.1
- org.apache.maven.plugins:maven-shade-plugin to 3.5.1
- org.apache.maven.plugins:maven-site-plugin to 4.0.0-M13
- org.apache.maven.plugins:maven-surefire-plugin to 3.2.3
- org.codehaus.mojo:build-helper-maven-plugin to 3.5.0
- org.cyclonedx:cyclonedx-maven-plugin to 2.7.10
- org.eclipse.cbi.maven.plugins:eclipse-jarsigner-plugin to 1.4.3
- org.jacoco:jacoco-maven-plugin to 0.8.11

Change-Id: Ie146085f567f0bcfe0124627939382fe5a764e6c

11 months agoUpdate org.eclipse.dash:license-tool-plugin to 1.1.0 45/1174045/1
Matthias Sohn [Fri, 22 Dec 2023 23:15:00 +0000 (00:15 +0100)]
Update org.eclipse.dash:license-tool-plugin to 1.1.0

Change-Id: I039e10fc6790d54c30cfd85a53c05604351996e0

11 months agoEnable using slf4j 2.x 85/1173385/7
Matthias Sohn [Sun, 10 Dec 2023 22:55:40 +0000 (23:55 +0100)]
Enable using slf4j 2.x

Eclipse platform moved to sfl4j 2.x. Hence relax version constraint so
that both 1.7 and 2.x are allowed.

Bug: egit-5
Change-Id: Ie0b00310d8f3f2553457c8668a38978a67b8febe

11 months agoUpdate Tycho to 4.0.4 86/1173386/4
Matthias Sohn [Sun, 10 Dec 2023 21:23:31 +0000 (22:23 +0100)]
Update Tycho to 4.0.4

Change-Id: I9d087b5a62ab3d474d894a2276572156c14dad4e

11 months agoUpdate mockito to 5.8.0 84/1173384/3
Matthias Sohn [Sat, 9 Dec 2023 23:08:09 +0000 (00:08 +0100)]
Update mockito to 5.8.0

Change-Id: I70d33b7af25fcb4754fb048dd9054eef7356f00c

11 months agoAdd 4.31 target platform and update orbit to 4.31 83/1173383/3
Matthias Sohn [Sat, 9 Dec 2023 22:58:25 +0000 (23:58 +0100)]
Add 4.31 target platform and update orbit to 4.31

and update bytebuddy to 1.14.10.

Change-Id: I145776a31d806f7e6dcc90263650109b3eb19067

11 months agoUpdate ecj to 3.36.0 82/1173382/3
Matthias Sohn [Sat, 9 Dec 2023 22:49:56 +0000 (23:49 +0100)]
Update ecj to 3.36.0

Change-Id: I803de19e8086239ebbae9877121946fdddfbaa89

11 months agoRenormalize line endings based on .gitattributes 51/1173051/3
Matthias Sohn [Fri, 24 Nov 2023 16:03:09 +0000 (17:03 +0100)]
Renormalize line endings based on .gitattributes

This fixes line endings of all text files to use LF in the repository.

Change-Id: I4df6fd7aaf9db9cdaa953a0d1062981b4612056c

11 months agoConfigure .gitattributes to manage line endings 50/1173050/3
Matthias Sohn [Fri, 24 Nov 2023 14:14:58 +0000 (15:14 +0100)]
Configure .gitattributes to manage line endings

Mark test resources as binary to prevent line ending normalization
Some of the test resources are used to test handling of line endings
in JGit.

Change-Id: Idd9ba604945797d1cd1f3af1a1987aee3188e1d6

11 months agoNormalize line endings to LF for all text files 49/1173049/3
Matthias Sohn [Fri, 24 Nov 2023 14:11:11 +0000 (15:11 +0100)]
Normalize line endings to LF for all text files

Change-Id: I69753494e4c7db4c0a8e6eca3b3e63d3ff561117

11 months agoMerge "Remove invalid spotbugs configuration"
Matthias Sohn [Fri, 22 Dec 2023 19:23:44 +0000 (19:23 +0000)]
Merge "Remove invalid spotbugs configuration"

11 months agoMerge "Fix PMD plugin configuration"
Matthias Sohn [Fri, 22 Dec 2023 19:21:33 +0000 (19:21 +0000)]
Merge "Fix PMD plugin configuration"

11 months agoBasePackFetchConnection: Skip object/ref lookups if local repo is empty 02/1173802/3
Dariusz Luksza [Mon, 18 Dec 2023 18:24:49 +0000 (18:24 +0000)]
BasePackFetchConnection: Skip object/ref lookups if local repo is empty

When cloning repository some of the operations in
`BasePackFetchConnection` can be skipped. We don't need to advertise
packs, compute "wanted time" or wanted refs to send. All of those
operations will try to read objects from an empty repository which
always results in a missing object.

This saves 99.9% of `LooseObjects.open()` calls which dramatically
speeds up object negotiation in V2 protocol.

In testing on JGit (v6.8.0.202311291450-r) repository, which contains
564 refs, the number of calls to `LooseObjects.open()` was reduced from
1187 to 1.

Skipping a call to `markRefsAdvertised()` initially reduced be above
number to 623. Then assuming "0" "want time" an on empty repository
pushed the calls down to 312. Finally, skipping objects reachability on
empty repository set calls down to 1.

The last call is performed from `FetchProcess.asForIsComplete()` which
probably needs to stay in place.

Bug: jgit-5
Change-Id: I2480690726ea54d3b1593380bc8f8d15b4d6afc6

11 months agoLooseObjects: Use File#exists when possible 37/1173737/2
Dariusz Luksza [Sun, 17 Dec 2023 16:43:56 +0000 (16:43 +0000)]
LooseObjects: Use File#exists when possible

When `trustFolderStat` flag is enabled we can use `File.exist()`
instead of rethrowing `FileNotFoundException`. This improves performance
of cloning and fetching.

A simple benchmark that generates a random `ObjectId` instance and then
tries to parse that object id, shows about 30% improvement with this
change.

The benchmark scenario was based on the stacktrace reported in jgit-5.
Where `RevWalk.parse()` call will eventually call `LooseObjects.open()`
and finally `LoseObjects.getOpenLoader()`.

Results on `master`:
  (packFiles)  Mode  Cnt        Score   Error  Units
           10  avgt    2      137.400          us/op
          100  avgt    2     1369.063          us/op
         1000  avgt    2    13730.759          us/op
        10000  avgt    2   137359.539          us/op
       100000  avgt    2  1382627.641          us/op

With this change:
  (packFiles)  Mode  Cnt        Score   Error  Units
           10  avgt    2       85.019          us/op
          100  avgt    2      868.748          us/op
         1000  avgt    2     8628.768          us/op
        10000  avgt    2    86877.505          us/op
       100000  avgt    2   863123.868          us/op

Issue: jgit-5
Change-Id: I366acf629873a5c7577a1032490faf57685f98dd

11 months agoRemove invalid spotbugs configuration 92/1173392/1
Michael Keppler [Sun, 17 Dec 2023 14:45:18 +0000 (15:45 +0100)]
Remove invalid spotbugs configuration

* findbugsXmlOutput was renamed to spotbugsXmlOutput long ago
* spotbugsXmlOutput has a default value of true and is deprecated,
therefore removing the entire line seems most reasonable

See https://spotbugs.github.io/spotbugs-maven-plugin/check-mojo.html#spotbugsXmlOutput

Change-Id: I83c0bbce1fb3622accb13978319b4313b0121655

11 months agoFix PMD plugin configuration 91/1173391/1
Michael Keppler [Sun, 17 Dec 2023 14:30:35 +0000 (15:30 +0100)]
Fix PMD plugin configuration

The configuration element has been renamed in release 3.18, see
https://github.com/apache/maven-pmd-plugin/releases/tag/maven-pmd-plugin-3.18.0

Change-Id: Ia6ec6992c4348d77d4b61f34190a57775cc30cec

11 months agoDfsReader: give subclasses visiblity over the pack bitmap index 78/1173678/5
Ivan Frade [Thu, 14 Dec 2023 17:25:06 +0000 (09:25 -0800)]
DfsReader: give subclasses visiblity over the pack bitmap index

Subclasses intercept many methods in DfsReader to capture metrics, but
they cannot record stats from PackBitmapIndex, as it is wrapped inside
a BitmapIndex.

Move the creation of the BitmapIndex to a protected method. Subclasses
can override it to e.g. read metrics from the index or set listeners to
the BitmapIndex.

Change-Id: I86c13b3ef88663d7faf59f2ec77df0a36b1627ed

11 months agoPackBitmapIndex/StoredBitmap: Expose size and counts 48/205448/6
Ivan Frade [Fri, 10 Nov 2023 20:05:51 +0000 (12:05 -0800)]
PackBitmapIndex/StoredBitmap: Expose size and counts

PackBitmapIndex holds a collection of StoredBitmaps. StoredBitmaps can
be either base bitmaps (ready) or an XOR over another bitmap. XOR
bitmaps are replaced with a resolved version on demand. Bitmaps
can use a significant amount of memory but we don't have detailed
visibility about it.

Add methods to PackBitmapIndex to know how many xor/bases we have and
their sizes.

Change-Id: I57aa80a1f07ddf9223eb34cfda85aab85529ea9c

11 months agoPackWriter/Statistics: Remove the bitmapt hit stats 03/1173603/1
Ivan Frade [Tue, 12 Dec 2023 21:31:03 +0000 (13:31 -0800)]
PackWriter/Statistics: Remove the bitmapt hit stats

The request uses bitmaps for reachability and to decide what to
pack. Setting the listener in the PackWriter only covers the second
case.

Remove the listener from the PackWriter. It makes more sense to set it
in the reader and at the moment the BitmapIndex only supports a single
listener.

This was introduced after the 6.8 tag, so it should be safe to remove.

Change-Id: Ib4c0a805c70e54b6a9e7f78ccdb8e0a465d238f1

11 months agoConfigure Github issue reporting 68/1173368/1
Thomas Wolf [Sun, 10 Dec 2023 16:02:10 +0000 (17:02 +0100)]
Configure Github issue reporting

Add two forms for bug reports and feature requests.

Change-Id: I8d80f2498741ba5bb88655d1e22798f99826fb7f

11 months agoMerge "API filter for PackStatistics.objectsWithBitmapsFound"
Thomas Wolf [Wed, 6 Dec 2023 08:24:45 +0000 (08:24 +0000)]
Merge "API filter for PackStatistics.objectsWithBitmapsFound"

11 months agoFooterLine: Protect from ill-formed message 47/1173047/5
Kamil Musin [Tue, 5 Dec 2023 15:22:08 +0000 (16:22 +0100)]
FooterLine: Protect from ill-formed message

A raw commit message has some headers and then the actual
message. RawParseUtils.commitMessage returns the start position of the
actual message, or -1 when the message is not raw. FooterLine is not
handling this -1 and throws an IndexOutOfBounds exception.

Consider than msgB can be -1 when looking for the beginning of the
last paragraph.

FooterLine javadoc and parameter talk only about "raw" but previous
code accepted non-raw messages (used mostly in unit tests) so we need
to keep this behavior.

Change-Id: I4b88c507e210fdd200a85b01665c8524ab393b00

11 months agoMerge "Document option gc.writeCommitGraph"
Ivan Frade [Tue, 5 Dec 2023 18:39:19 +0000 (18:39 +0000)]
Merge "Document option gc.writeCommitGraph"

11 months agoAPI filter for PackStatistics.objectsWithBitmapsFound 76/1173176/1
Thomas Wolf [Tue, 5 Dec 2023 14:33:36 +0000 (15:33 +0100)]
API filter for PackStatistics.objectsWithBitmapsFound

The field was introduced in commit 5e563e1b.

Change-Id: Ic2f495e79319ac6044bcabf253b63b8b631eec84

11 months agoMerge "StartGenerator: Fix parent rewrite with non-default RevFilter"
Ivan Frade [Mon, 4 Dec 2023 23:38:57 +0000 (23:38 +0000)]
Merge "StartGenerator: Fix parent rewrite with non-default RevFilter"

11 months agoStartGenerator: Fix parent rewrite with non-default RevFilter 68/205168/27
Ronald Bhuleskar [Wed, 25 Oct 2023 20:10:33 +0000 (13:10 -0700)]
StartGenerator: Fix parent rewrite with non-default RevFilter

StartGenerator is responsible for propagating the RevWalk's
parent rewrite setting, but it currently only does so when a
non-default TreeFilter is set, when it should also do so if
the default TreeFilter is used with a non-default RevFilter.

Adding a new if condition within StartGenerator to enable parent
rewrite with non-default RevFilter.

TreeRevFilter relied on the old buggy functionality and has
been modified to explicitly refrain from rewriting parents.

Change-Id: I4e4ff67fb279edbcc3461496b132cea774fb742f

11 months agoUpdate MANIFEST.MF 42/1173142/2
Peter Kriens [Fri, 1 Dec 2023 16:47:49 +0000 (17:47 +0100)]
Update MANIFEST.MF

Add an import for javax.net.ssl

Signed-off-by: Peter Kriens <Peter.Kriens@aQute.biz>
11 months agoDocument option gc.writeCommitGraph 46/1173046/1
Matthias Sohn [Mon, 4 Dec 2023 22:03:26 +0000 (23:03 +0100)]
Document option gc.writeCommitGraph

Change-Id: Ic02d5abce18250b30f2c3f3741892d8cda251001

11 months agoBump last release version to 6.8.0.202311291450-r 45/1173045/1
Matthias Sohn [Mon, 4 Dec 2023 22:11:34 +0000 (23:11 +0100)]
Bump last release version to 6.8.0.202311291450-r

This is the version used to compare API changes against to detect
breaking API changes.

Change-Id: I005b6a24c98c507656ebab415492a4127f08d471

11 months agoPrepare 6.9.0-SNAPSHOT builds 44/1173044/1
Matthias Sohn [Mon, 4 Dec 2023 22:02:44 +0000 (23:02 +0100)]
Prepare 6.9.0-SNAPSHOT builds

Change-Id: Id1d784ec4870cfb53c4b140fe0bb3fad9eef651d

11 months agoMerge branch 'stable-6.8' 43/1173043/1
Matthias Sohn [Mon, 4 Dec 2023 21:58:45 +0000 (22:58 +0100)]
Merge branch 'stable-6.8'

* stable-6.8:
  Prepare 6.8.1-SNAPSHOT builds
  JGit v6.8.0.202311291450-r
  Rename method parameter to fix warning about hidden field
  Fix warnings about empty control flow statements
  BitmapIndexImpl: externalize error message
  Suppress not-externalized string warnings
  Silence API error for new method BitmapIndex#addBitmapLookupListener
  Update Orbit to orbit-aggregation/2023-12
  Prepare 6.8.0-SNAPSHOT builds
  JGit v6.8.0.202311212206-rc1

Change-Id: Ie88662f6458bb80147c7c164424eebd8b8240fc7

11 months agoBitmapWalkerTest: New test for the walker 71/1172471/2
Ivan Frade [Mon, 20 Nov 2023 21:18:37 +0000 (13:18 -0800)]
BitmapWalkerTest: New test for the walker

Change-Id: I414f5bdd86e5623d7669fa187df19e06acd02cef

11 months agoPackWriter: store the objects with bitmaps in the statistics 04/205504/17
Ivan Frade [Fri, 17 Nov 2023 18:44:56 +0000 (10:44 -0800)]
PackWriter: store the objects with bitmaps in the statistics

We want to know what objects had bitmaps in the walk of the
request. We can check their position in the history and evaluate
our bitmap selection algorithm.

Use the listener interface of the BitmapWalker to get the objects
walked with bitmaps and store them in the statistics.

Change-Id: Id15a904eb642d7f50d80ac77d1146db4fe4706eb

11 months agoFooterLine: First line cannot be a footer 30/1172930/1
Ivan Frade [Wed, 29 Nov 2023 18:51:04 +0000 (10:51 -0800)]
FooterLine: First line cannot be a footer

The first line of the commit message cannot be a footer line. This
restriction was dropped in commit [1] while adding multiline
footers. This affects at least the git-numberer gerrit plugin, that
even have a test for it [2].

Reintroduce the restriction that the first line of the commit message
cannot be a footer and bring the test from git-numberer to jgit.

[1] https://review.gerrithub.io/c/eclipse-jgit/jgit/+/1172664
[2] https://chromium.googlesource.com/infra/gerrit-plugins/git-numberer/+/refs/heads/main/src/test/java/com/googlesource/chromium/plugins/gitnumberer/GetFooterLinesTest.java

Change-Id: Id3fa6b8614664dbc3fdccffe1006b0b9752a8de6

11 months agoReapply "Improve footer parsing to allow multiline footers." 29/1172929/1
Ivan Frade [Wed, 29 Nov 2023 21:44:02 +0000 (13:44 -0800)]
Reapply "Improve footer parsing to allow multiline footers."

This reverts commit e99fb6edc4b4eba43e27f9945df043e72ab297dd.

11 months agoRevert "Improve footer parsing to allow multiline footers." 02/1172902/1
Ivan Frade [Wed, 29 Nov 2023 18:05:07 +0000 (10:05 -0800)]
Revert "Improve footer parsing to allow multiline footers."

This reverts commit 340cc787a0d14a0698d757a919ccd77e0a129fb0.

This breaks a test in the git_numberer gerrit plugin used by chromium
[1].  The test checks that first line is never a footer, which sounds
right. That test should be included in FooterLineTest.

[1]
https://chromium.googlesource.com/infra/gerrit-plugins/git-numberer/+/refs/heads/main/src/test/java/com/googlesource/chromium/plugins/gitnumberer/GetFooterLinesTest.java

11 months agoPrepare 6.8.1-SNAPSHOT builds 80/1172680/1
Matthias Sohn [Wed, 29 Nov 2023 15:53:24 +0000 (16:53 +0100)]
Prepare 6.8.1-SNAPSHOT builds

Change-Id: I56458c5345dcd9544868c948e90c9827d25c6850

11 months agoJGit v6.8.0.202311291450-r 78/1172678/1 v6.8.0.202311291450-r
Matthias Sohn [Wed, 29 Nov 2023 14:49:43 +0000 (15:49 +0100)]
JGit v6.8.0.202311291450-r

Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Change-Id: Iecfe3f628cfdc437ee0d63fe52653ef952c8c494

11 months agoRename method parameter to fix warning about hidden field 75/1172675/1
Matthias Sohn [Tue, 28 Nov 2023 23:21:31 +0000 (00:21 +0100)]
Rename method parameter to fix warning about hidden field

Change-Id: Id094ab022f82db0f3eb220052adc0aed1cde2d50

11 months agoFix warnings about empty control flow statements 74/1172674/1
Matthias Sohn [Tue, 28 Nov 2023 23:18:29 +0000 (00:18 +0100)]
Fix warnings about empty control flow statements

Change-Id: If1595ac148edf88a18efdd90c4f40d0ac719caab

11 months agoBitmapIndexImpl: externalize error message 73/1172673/1
Matthias Sohn [Tue, 28 Nov 2023 23:12:55 +0000 (00:12 +0100)]
BitmapIndexImpl: externalize error message

Change-Id: I5189e966aecc57fe7c3e6c3f7f8e6b16917ee27f

11 months agoSuppress not-externalized string warnings 72/1172672/1
Matthias Sohn [Tue, 28 Nov 2023 23:09:52 +0000 (00:09 +0100)]
Suppress not-externalized string warnings

Change-Id: I2a0a588227d451cb175e17eef20ecb6fe9e9ef80

11 months agoSilence API error for new method BitmapIndex#addBitmapLookupListener 71/1172671/1
Matthias Sohn [Tue, 28 Nov 2023 23:04:18 +0000 (00:04 +0100)]
Silence API error for new method BitmapIndex#addBitmapLookupListener

it has an empty default implementation.

Change-Id: I56b16c48992652a4ddaaf4c0435e08452c65749e

11 months agoUpdate Orbit to orbit-aggregation/2023-12 70/1172670/1
Matthias Sohn [Tue, 28 Nov 2023 22:53:29 +0000 (23:53 +0100)]
Update Orbit to orbit-aggregation/2023-12

Change-Id: Ifde28f60461e0a9d7b1278f8f178ceb2c4e1db7a

11 months agoMerge branch 'master' into stable-6.8 68/1172668/1
Matthias Sohn [Mon, 27 Nov 2023 22:34:02 +0000 (23:34 +0100)]
Merge branch 'master' into stable-6.8

* master:
  Adapt to type parameter added in commons-compress 1.25.0
  Improve footer parsing to allow multiline footers.
  Make the tests buildable by bazel test
  BitmapIndex: Add interface to track bitmaps found (or not)
  BitmapWalker: Remove BitmapWalkListener

Change-Id: Id2aeb0acd37bdd68a2f2c9f09f4d442fa40c9dd1

11 months agoMerge "Improve footer parsing to allow multiline footers."
Matthias Sohn [Sun, 26 Nov 2023 18:35:54 +0000 (18:35 +0000)]
Merge "Improve footer parsing to allow multiline footers."

11 months agoMerge "Make the tests buildable by bazel test"
Matthias Sohn [Sat, 25 Nov 2023 19:54:02 +0000 (19:54 +0000)]
Merge "Make the tests buildable by bazel test"

11 months agoAdapt to type parameter added in commons-compress 1.25.0 21/205521/3
Matthias Sohn [Fri, 17 Nov 2023 23:06:01 +0000 (00:06 +0100)]
Adapt to type parameter added in commons-compress 1.25.0

In 1.25.0 commons-compress added a generic type parameter to
ArchiveOutputStream to avoid unchecked/unconfirmed type casts in
subclasses.

Change-Id: Ib4c208fc1fb65f73ea57c5bf723fde71b0d6d9f7

11 months agoImprove footer parsing to allow multiline footers. 64/1172664/2
Kamil Musin [Fri, 24 Nov 2023 14:17:26 +0000 (15:17 +0100)]
Improve footer parsing to allow multiline footers.

According to the https://git-scm.com/docs/git-interpret-trailers the
CGit supports multiline trailers. Subsequent lines of such multiline
trailers have to start with a whitespace.

We also rewrite the original parsing code to make it easier to work
with. The old code had pointers moving both backwards and forwards at
the same time. In the rewritten code we first find the start of the last
paragraph and then do all the parsing.

Since all the getters of the FooterLine return String, I've considered
rewriting the parsing code to operate on strings. However the original
code seems to be written with the idea, that the data is only lazily
copied in getters and no extra allocations should be performed during
original parsing (ex. during RevWalk). The changed code keeps to this
idea.

Bug: Google b/312440626
Change-Id: Ie1e3b17a4a5ab767b771c95f00c283ea6c300220

12 months agoMake the tests buildable by bazel test 62/1172662/5
Kamil Musin [Thu, 23 Nov 2023 10:47:53 +0000 (11:47 +0100)]
Make the tests buildable by bazel test

All the errorprone checkers fail in many existing places of the
codebase, making it impossible to run bazel test. Downgrade all to
":WARN".

MergeToolTest is asserting a wrong error line, but the line seems
different between bazel and mvn test runs. Therefore we don't fix it and
simply run

```
bazel test -- //... -//org.eclipse.jgit.pgm.test:pgm
```

Change-Id: I44913ebc70dcc934cb69481cc3ff9ae0d8059707

12 months agoPrepare 6.8.0-SNAPSHOT builds 86/1172486/1
Matthias Sohn [Wed, 22 Nov 2023 00:41:02 +0000 (01:41 +0100)]
Prepare 6.8.0-SNAPSHOT builds

Change-Id: I89178175549541111cddb88da401899960c0ecac

12 months agoJGit v6.8.0.202311212206-rc1 83/1172483/1 v6.8.0.202311212206-rc1
Matthias Sohn [Tue, 21 Nov 2023 22:05:56 +0000 (23:05 +0100)]
JGit v6.8.0.202311212206-rc1

Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Change-Id: I6a40cdef68538fa769f4525eb2ff1ed4a810f11c

12 months agoMerge branch 'master' into stable-6.8 82/1172482/1
Matthias Sohn [Tue, 21 Nov 2023 22:04:27 +0000 (23:04 +0100)]
Merge branch 'master' into stable-6.8

* master:
  Update repository URLs in CONTRIBUTING.md
  Fix typo in FileUtils.isStaleFileHandle() javadoc
  Fix branch ref exist check
  gpg.bc: Supress errorprone InsecureCryptoUsage
  Adjust javadoc to pass errorprone checks
  Update org.apache.commons:commons-compress to 1.25.0
  Fix annotation of deprecated constant CONFIG_KEY_STREAM_FILE_TRESHOLD
  BitmapWalkListener: Use plain interface with noop instance
  BitmapWalkListener: Add method and rename for commits
  Update bouncycastle to 1.77
  PatchApplier: wrap output's TemporaryBuffer with a CountingOutputStream
  BitmapWalker: announce walked objects via listener interface
  Update jetty to 10.0.18
  SSH: bump org.apache.sshd to 2.11.0
  CommitGraphWriter: Remove unnecesary progress update call

Change-Id: I97574c4801ccafd4e808a1fcf6f8d079ff5709b3

12 months agoBitmapIndex: Add interface to track bitmaps found (or not) 13/1172413/2
Ivan Frade [Mon, 20 Nov 2023 20:01:12 +0000 (12:01 -0800)]
BitmapIndex: Add interface to track bitmaps found (or not)

We want to know what objects had bitmaps in the walk of the
request. We can check their position in the history and evaluate our
bitmap selection algorithm.

Introduce a listener interface to the BitmapIndex to report which
getBitmap() calls returned a bitmap (or not) and a method to the
bitmap index to set the listener.

Change-Id: Iac8fcc1539ddd2dd450e8a1cf5a5b1089679c378

12 months agoBitmapWalker: Remove BitmapWalkListener 12/1172412/2
Ivan Frade [Mon, 20 Nov 2023 18:25:03 +0000 (10:25 -0800)]
BitmapWalker: Remove BitmapWalkListener

We can track bitmaps queries that found a bitmap directly in the
BitmapIndex.

Remove the listener.

Change-Id: I5ad518a58b681bf327fee3ae5c5f6e4449d3da1f

12 months agoUpdate repository URLs in CONTRIBUTING.md 86/1172386/1
Matthias Sohn [Mon, 20 Nov 2023 21:03:32 +0000 (22:03 +0100)]
Update repository URLs in CONTRIBUTING.md

after the move to eclipse.gerrithub.io.

Change-Id: I8e7aac62c991b941def263d3d7585991f1355738

12 months agoMerge "Fix typo in FileUtils.isStaleFileHandle() javadoc"
Matthias Sohn [Fri, 17 Nov 2023 23:45:17 +0000 (18:45 -0500)]
Merge "Fix typo in FileUtils.isStaleFileHandle() javadoc"

12 months agoFix typo in FileUtils.isStaleFileHandle() javadoc 32/205532/2
Dariusz Luksza [Thu, 16 Nov 2023 15:52:38 +0000 (15:52 +0000)]
Fix typo in FileUtils.isStaleFileHandle() javadoc

Signed-off-by: Dariusz Luksza <dariusz.luksza@gmail.com>
Change-Id: Iac431bbcb00f0a1fa36e2ba4af5fe33fcee69e04

12 months agoFix branch ref exist check 74/204974/3
florian.signoret [Mon, 16 Oct 2023 14:08:14 +0000 (16:08 +0200)]
Fix branch ref exist check

When a tag with the same name as the branch exists, the branch creation
process should work too. We should detect that the branch already
exists, and allow to force create it when the force option is used.

Bug: 582538
Change-Id: I3b350d03be8edcde10e97b2318343240ca896cb0

12 months agogpg.bc: Supress errorprone InsecureCryptoUsage 45/205545/1
Ivan Frade [Fri, 17 Nov 2023 18:14:26 +0000 (10:14 -0800)]
gpg.bc: Supress errorprone InsecureCryptoUsage

From errorprone doc: "Dynamically constructed transformation strings
are also flagged, as they may conceal an instance of ECB mode."

https://errorprone.info/bugpattern/InsecureCryptoUsage

Silence the message as a quick relief.

Change-Id: I348f0fff0e3b24ce1f11917e849b4095b186d1f0

12 months agoAdjust javadoc to pass errorprone checks 44/205544/1
Ivan Frade [Fri, 17 Nov 2023 18:11:17 +0000 (10:11 -0800)]
Adjust javadoc to pass errorprone checks

bazel build //org.eclipse.jgit.test:all doesn't build due to
errorprone errors. This leds to disabling the checks and find the
errors later in the jenkins builder.

Fix javadoc errors reported by errorprone. This doesn't fix completely
the build but it is a step towards it.

Change-Id: Ic4ec93a2d71d4628bf3a05277c60157881156393

12 months agoMerge "Update org.apache.commons:commons-compress to 1.25.0"
Matthias Sohn [Fri, 17 Nov 2023 07:34:54 +0000 (02:34 -0500)]
Merge "Update org.apache.commons:commons-compress to 1.25.0"

12 months agoMerge "Fix annotation of deprecated constant CONFIG_KEY_STREAM_FILE_TRESHOLD"
Matthias Sohn [Fri, 17 Nov 2023 00:41:46 +0000 (19:41 -0500)]
Merge "Fix annotation of deprecated constant CONFIG_KEY_STREAM_FILE_TRESHOLD"

12 months agoMerge "BitmapWalkListener: Use plain interface with noop instance"
Ivan Frade [Fri, 17 Nov 2023 00:22:16 +0000 (19:22 -0500)]
Merge "BitmapWalkListener: Use plain interface with noop instance"

12 months agoUpdate org.apache.commons:commons-compress to 1.25.0 16/205516/1
Matthias Sohn [Fri, 17 Nov 2023 00:05:25 +0000 (01:05 +0100)]
Update org.apache.commons:commons-compress to 1.25.0

Change-Id: Ic9c6910853ad00075501aa3e03888fefbe634bf6

12 months agoFix annotation of deprecated constant CONFIG_KEY_STREAM_FILE_TRESHOLD 10/205510/2
Matthias Sohn [Wed, 15 Nov 2023 23:24:29 +0000 (00:24 +0100)]
Fix annotation of deprecated constant CONFIG_KEY_STREAM_FILE_TRESHOLD

Change-Id: I71f067199c63aa1407f543f6d40ef05b928e9f95

12 months agoMerge "Update bouncycastle to 1.77"
Matthias Sohn [Fri, 17 Nov 2023 00:06:15 +0000 (19:06 -0500)]
Merge "Update bouncycastle to 1.77"

12 months agoBitmapWalkListener: Use plain interface with noop instance 39/205539/4
Ivan Frade [Thu, 16 Nov 2023 23:12:47 +0000 (15:12 -0800)]
BitmapWalkListener: Use plain interface with noop instance

In this new interface default methods are useful only to instantiate
noop instances. We rather reuse the same noop instance and save the
"default" to add backward compatible methods to existing interfaces.

Make the methods regular interface methods and provide a noop
instance.

Change-Id: Ie84ff17c8e9f16837245751739ee8c99463e76ee

12 months agoBitmapWalkListener: Add method and rename for commits 35/205535/2
Ivan Frade [Thu, 16 Nov 2023 18:46:07 +0000 (10:46 -0800)]
BitmapWalkListener: Add method and rename for commits

During the walk, the commit can be either
1. already in the walk bitmap
2. unvisited so far with bitmap in the bitmap index
3. unvisited so far without bitmap in the bitmap index

Expose these three states in the interface. This makes the interface
easier to explain: it reports the commits found during the walk.

As it is all about commits, rename the methods to onCommit***.

Change-Id: I661f303eb22d3e735b0e439f16df7ace612376d9

12 months agoMerge "CommitGraphWriter: Remove unnecesary progress update call"
Ivan Frade [Thu, 16 Nov 2023 19:53:13 +0000 (14:53 -0500)]
Merge "CommitGraphWriter: Remove unnecesary progress update call"

12 months agoUpdate bouncycastle to 1.77 85/205485/2
Matthias Sohn [Wed, 15 Nov 2023 20:32:20 +0000 (21:32 +0100)]
Update bouncycastle to 1.77

Change-Id: I2dc011247ace2eeea8c46587cae55a39be086f36

12 months agoMerge "PatchApplier: wrap output's TemporaryBuffer with a CountingOutputStream"
Jonathan Nieder [Thu, 16 Nov 2023 10:26:55 +0000 (05:26 -0500)]
Merge "PatchApplier: wrap output's TemporaryBuffer with a CountingOutputStream"

12 months agoPatchApplier: wrap output's TemporaryBuffer with a CountingOutputStream 72/205472/7
Nitzan Gur-Furman [Wed, 15 Nov 2023 20:04:00 +0000 (21:04 +0100)]
PatchApplier: wrap output's TemporaryBuffer with a CountingOutputStream

The documentation for TemporaryBuffer::length says:
"The length is only accurate after {@link #close()} has been invoked".
However, we need to have the stream open while accessing the length.

This prevents patches on large files to be applied correctly, as the
result get trimmed.

Bug: Google b/309500446
Change-Id: Ic1540f6d0044088f3b46f1fad5f6a28ec254b711

12 months agoMerge "BitmapWalker: announce walked objects via listener interface"
Ivan Frade [Wed, 15 Nov 2023 23:33:30 +0000 (18:33 -0500)]
Merge "BitmapWalker: announce walked objects via listener interface"

12 months agoBitmapWalker: announce walked objects via listener interface 03/205503/3
Ivan Frade [Wed, 15 Nov 2023 18:25:22 +0000 (10:25 -0800)]
BitmapWalker: announce walked objects via listener interface

We want to know what objects had a bitmap in the walk, to see where do
they sit in the commit history and evaluate our bitmap selection
algorithm.

Add a listener interface to the bitmap walker announcing the objects
walked and whether they had bitmap.

Change-Id: I956fe2ad927a500710d2cbe78ecd4d26f178c266

12 months agoMerge branch 'stable-6.8' 07/205507/1
Matthias Sohn [Wed, 15 Nov 2023 22:43:53 +0000 (23:43 +0100)]
Merge branch 'stable-6.8'

* stable-6.8:
  Prepare 6.8.0-SNAPSHOT builds
  JGit v6.8.0.202311151710-m2

Change-Id: I26603b974f0ccd5a6da3801988d925d73a692c0e

12 months agoPrepare 6.8.0-SNAPSHOT builds 06/205506/1
Matthias Sohn [Wed, 15 Nov 2023 22:42:56 +0000 (23:42 +0100)]
Prepare 6.8.0-SNAPSHOT builds

Change-Id: Id11a260db84aea6743f2e6edec8b8010693aab42

12 months agoUpdate jetty to 10.0.18 80/205480/1
Matthias Sohn [Wed, 15 Nov 2023 21:20:29 +0000 (22:20 +0100)]
Update jetty to 10.0.18

Change-Id: I34c9f7c062400bb69849812d57390dd2e7b04cac

12 months agoSSH: bump org.apache.sshd to 2.11.0 88/205088/2
Thomas Wolf [Sat, 21 Oct 2023 13:15:34 +0000 (15:15 +0200)]
SSH: bump org.apache.sshd to 2.11.0

Update maven build, bazel build, and target platform.

Also remove a file in a ./bin directory that got committed by mistake
in commit f5f4bf0ad.

Change-Id: Ia653c71643f8fad290874d723dacdafbef25c13f
Signed-off-by: Thomas Wolf <twolf@apache.org>
12 months agoJGit v6.8.0.202311151710-m2 78/205478/1 v6.8.0.202311151710-m2
Matthias Sohn [Wed, 15 Nov 2023 17:11:07 +0000 (18:11 +0100)]
JGit v6.8.0.202311151710-m2

Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Change-Id: I9d06bb08fc1f9a2a08d4bc5a4459ec7e7e8c1be4

12 months agoMerge branch 'master' into stable-6.8 76/205476/1
Matthias Sohn [Wed, 15 Nov 2023 17:05:54 +0000 (18:05 +0100)]
Merge branch 'master' into stable-6.8

* master: (42 commits)
  Fix typo in constant name CONFIG_KEY_STREAM_FILE_TRESHOLD
  Simplify StringUtils#commonPrefix
  Optimize RefDirectory.getRefsByPrefix(String...)
  Use try-with-resource to ensure UploadPack is closed
  Fix hiding field warning
  Fix warning for empty code blocks
  Fix boxing warnings
  errorprone: remove unnecessary parentheses
  Update mockito to 5.7.0 and bytebuddy to 1.14.9
  Enable Maven reproducible builds
  Upgrade bazlets to the latest revision
  Revert "Optimise Git protocol v2 `ref-prefix` scanning"
  Document GIT_TRACE_PERFORMANCE to show timings
  config-options.md: fix sort order
  ComboBitset: Add Javadoc
  CommitGraphWriter: Add progress monitor to bloom filter computation
  CommitGraphWriter: Use ProgressMonitor from the OutputStream
  CommitGraphWriter: Unnest generation-number progress
  Optimise Git protocol v2 `ref-prefix` scanning
  UploadPackTest: Cover using wanted-refs as advertised set
  ...

Change-Id: I5398f2342eac83ebdc823befe8e7de0cf8ba6d5b

12 months agoFix typo in constant name CONFIG_KEY_STREAM_FILE_TRESHOLD 73/205473/1
Matthias Sohn [Wed, 15 Nov 2023 15:02:43 +0000 (16:02 +0100)]
Fix typo in constant name CONFIG_KEY_STREAM_FILE_TRESHOLD

Since it's part of the API deprecate the wrong spelling and add the
correct one with the same value.

Change-Id: I0f6ea95a5e66c9e80142eb6d40eb7ec3a7aaf8e2

12 months agoSimplify StringUtils#commonPrefix 66/205466/2
Nasser Grainawi [Mon, 13 Nov 2023 23:12:24 +0000 (00:12 +0100)]
Simplify StringUtils#commonPrefix

By first checking for null-ness and then for the number of strings to
compare we can get rid of a redundant null check.

Change-Id: I0d9a088352c6c1ffea12bc2cded2c63e5293a8a7

12 months agoOptimize RefDirectory.getRefsByPrefix(String...) 87/205387/4
Dariusz Luksza [Thu, 9 Nov 2023 11:18:38 +0000 (11:18 +0000)]
Optimize RefDirectory.getRefsByPrefix(String...)

Currently for file-based repositories JGit will go over all refs in the
repository forach `ref-prefix` listed in the `ls-refs` command in git
protocol v2 request.

Native git, uses a different approach, where all refs are read once and
then for each ref, all `ref-prefix` filter values are checked in one
pass.

This change implements this approach in JGit only in the `RefDirectory`
backend. And makes `ref-prefix` filtering ~40% faster for repositories
with packed refs.

Different implementations were tested on a synthetic file repository
with 10k refs in `refs/heads/` and `290k` in `refs/changes`. Before
testing `git pack-refs` command was executed. All results are in
seconds.

Current Impl:               39.340   37.093   35.996
Nested for loops:           25.077   24.742   24.748
Nested streams:             24.827   24.890   27.525
Parallel stream + stream:   23.357   23.318   23.174
Nested parallel streams:    23.490   23.318   23.317
Stream + for loop:          23.147   23.210   23.126
Parallel stream + for loop: 23.317   23.423   22.847

The elapsed time was measured around `getRefByPrefix` call in
`Uploadapack.getFilteredRefs(Collection<String>)` (around lines 952 and
954). For testing a modified version of
`UploadPackTest.testV2LsRefsRefPrefix()` was used. The modifications
here included:
  * shadowing protected `repo` variable with `FileRepository` pointing
    to the synthetic repo with 300k refs described above,
  * mimicking the git client clone request by adding `ref-prefix HEAD`,
    `ref-prefix refs/heads/` and `ref-prefix refs/tags/`

Based on the above results, the implementation with parallel stream and
stream was selected.

Bug: 578550
Signed-off-by: Dariusz Luksza <dariusz.luksza@gmail.com>
Change-Id: I6416846c074b611ff6ec9d351dbafcfbcaf68e66

12 months agoCommitGraphWriter: Remove unnecesary progress update call 02/205402/1
Ivan Frade [Thu, 9 Nov 2023 22:45:32 +0000 (14:45 -0800)]
CommitGraphWriter: Remove unnecesary progress update call

Change [1] reduced the scope of the "writing commit graph" monitoring
task. This left some monitor#update() calls out of any task. When out
of a task, the #update call is a noop.

Delete this update calls as they are noops and misleading.

The affected chunks are usually small and quick to write, so probably
they don't need progress monitoring.

[1] https://git.eclipse.org/r/c/jgit/jgit/+/205339

Change-Id: I74d94e6e44e58816937dc8a84e5a10b340e54e0b

12 months agoMerge changes I0d10aeac,I9aced1b7,Ied394859,Ibb61f63f,I20498746, ...
Matthias Sohn [Fri, 10 Nov 2023 08:03:36 +0000 (03:03 -0500)]
Merge changes I0d10aeac,I9aced1b7,Ied394859,Ibb61f63f,I20498746, ...

* changes:
  Use try-with-resource to ensure UploadPack is closed
  Fix hiding field warning
  Fix warning for empty code blocks
  Fix boxing warnings
  errorprone: remove unnecessary parentheses
  Update mockito to 5.7.0 and bytebuddy to 1.14.9
  Enable Maven reproducible builds
  Upgrade bazlets to the latest revision

12 months agoMerge "Revert "Optimise Git protocol v2 `ref-prefix` scanning""
Ivan Frade [Wed, 8 Nov 2023 23:15:51 +0000 (18:15 -0500)]
Merge "Revert "Optimise Git protocol v2 `ref-prefix` scanning""

12 months agoUse try-with-resource to ensure UploadPack is closed 60/205360/1
Matthias Sohn [Wed, 8 Nov 2023 23:06:19 +0000 (00:06 +0100)]
Use try-with-resource to ensure UploadPack is closed

Change-Id: I0d10aeac959a49b3bf2e83b0c104699d1d21f5e9

12 months agoFix hiding field warning 59/205359/1
Matthias Sohn [Wed, 8 Nov 2023 22:41:16 +0000 (23:41 +0100)]
Fix hiding field warning

Change-Id: I9aced1b711901918667555a4cfff76992024e59c

12 months agoFix warning for empty code blocks 58/205358/1
Matthias Sohn [Wed, 8 Nov 2023 22:39:35 +0000 (23:39 +0100)]
Fix warning for empty code blocks

Change-Id: Ied394859e8c76bb1a2362d31962ab862b26b279f

12 months agoFix boxing warnings 57/205357/1
Matthias Sohn [Wed, 8 Nov 2023 22:38:09 +0000 (23:38 +0100)]
Fix boxing warnings

Change-Id: Ibb61f63f17e909ee0e6a781c9418f7c1ac2c7cd7

12 months agoerrorprone: remove unnecessary parentheses 56/205356/1
Matthias Sohn [Wed, 8 Nov 2023 22:36:54 +0000 (23:36 +0100)]
errorprone: remove unnecessary parentheses

See https://errorprone.info/bugpattern/UnnecessaryParentheses

Change-Id: I204987469d478c9cc887ac66c9ffc84c9977c400

12 months agoUpdate mockito to 5.7.0 and bytebuddy to 1.14.9 16/205216/3
Matthias Sohn [Tue, 31 Oct 2023 00:13:50 +0000 (01:13 +0100)]
Update mockito to 5.7.0 and bytebuddy to 1.14.9

Change-Id: I7c93847054050a0af0d2c16e724e5755f9fa33bf

12 months agoEnable Maven reproducible builds 85/204785/10
Matthias Sohn [Thu, 5 Oct 2023 23:10:40 +0000 (01:10 +0200)]
Enable Maven reproducible builds

- configure Maven to run build reproducibly [1]
- use UTC timestamp of checked out commit as build timestamp
- add git-describe, git-commit-id, git-commit-id, git-tags,
  git-remote-origin-url to MANIFEST.MF files
- configure cyclonedx-maven-plugin to also use UTC timestamp of
  checked out commit
- for packaging build use tycho-buildtimestamp-jgit [2] to ensure
  version uses the timestamp of the last commit
- SBOMs are not reproducible by design [3] they should have a build
  timestamp matching the time when the build was executed and a serial
  number which is a unique UUID per build run. Hence exclude them from
  comparison [4].
- Use gmavenplus-plugin to format build timestamps. Maven expects
  build timestamp in ISO-8601 format, to replace the qualifier in
  versions the timestamp format must be compatible with rules for OSGi
  version numbers. Didn't find a way to read the properties set by the
  git-commit-id-maven-plugin from another plugin. Hence use JGit in a
  groovy script to get the commit time of the current HEAD and provide
  it in these two formats.

TODO: packaging build (features and p2 repository) is not yet binary
reproducible since that's not yet supported by Tycho [5], artefacts have
reproducible version numbers but file lastModified timestamps are not
yet reproducible.

Test plan for Maven build:
- build using
  mvn clean install"
- verify second build is reproducible:
  mvn -T1 clean verify artifact:compare
  verification seems not to be thread-safe, hence run it with a single
  thread using option -T1

For packaging build (still fails due to non-reproducible file
timestamps):
- build using
  mvn -f org.eclipse.jgit.packaging/pom.xml clean install
- verify second build is reproducible:
  mvn -T1 -f org.eclipse.jgit.packaging/pom.xml clean verify artifact:compare

[1] https://maven.apache.org/guides/mini/guide-reproducible-builds.html
[2] https://wiki.eclipse.org/Tycho/Reproducible_Version_Qualifiers
[3] https://github.com/CycloneDX/cyclonedx-maven-plugin/issues/84
[4] https://maven.apache.org/plugins/maven-artifact-plugin/compare-mojo.html
[5] https://github.com/eclipse-tycho/tycho/issues/233

Change-Id: I0202f55a1b6ae0edd922cfef638beb39d2ce9417

12 months agoUpgrade bazlets to the latest revision 83/204983/2
David Ostrovsky [Tue, 17 Oct 2023 12:24:46 +0000 (14:24 +0200)]
Upgrade bazlets to the latest revision

Includes:
junit.bzl: Suppress default package warning flagged by error prone

Change-Id: Id8e8dd7cca7264328c4121ac3da4d9d5e8e407de

12 months agoRevert "Optimise Git protocol v2 `ref-prefix` scanning" 56/205256/1
Ivan Frade [Wed, 8 Nov 2023 22:48:08 +0000 (17:48 -0500)]
Revert "Optimise Git protocol v2 `ref-prefix` scanning"

This reverts commit 3937300f3eb4dd557ec2d195f21793f737d6cb4e.

Reason for revert: This kills performance on the DFS side, that relies on loading the minimal amount of refs and reftables for quick prefix searches.

Reverting as a safe option to keep master in good performance until we decide how to reintroduce this change.

Change-Id: I7b1a3f900d9c78ce95cf0972abb50b6becfe3bb1

12 months agoMerge "ComboBitset: Add Javadoc"
Matthias Sohn [Wed, 8 Nov 2023 07:49:06 +0000 (02:49 -0500)]
Merge "ComboBitset: Add Javadoc"

12 months agoDocument GIT_TRACE_PERFORMANCE to show timings 54/205354/1
Matthias Sohn [Wed, 8 Nov 2023 01:49:23 +0000 (02:49 +0100)]
Document GIT_TRACE_PERFORMANCE to show timings

Change-Id: I5a39b072c50e64a2d940680ed85866edfe9d0d28

12 months agoconfig-options.md: fix sort order 53/205353/1
Matthias Sohn [Wed, 8 Nov 2023 01:41:28 +0000 (02:41 +0100)]
config-options.md: fix sort order

Change-Id: Idf233e7b6ca41de9460b41b3d24c84f9e85472d6