aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/.settings
diff options
context:
space:
mode:
authorkylezhao <kylezhao@tencent.com>2022-07-14 11:23:03 +0800
committerThomas Wolf <twolf@apache.org>2022-10-21 08:11:33 +0200
commitad9c217f4954dc50f629b3eb6ae387b6940a5023 (patch)
tree5f4018d5d0dbe353f54da7aca888f34b8781e6b5 /org.eclipse.jgit/.settings
parent71af0d6a5c4417a9c9c6523d4aa811579d8c867f (diff)
downloadjgit-ad9c217f4954dc50f629b3eb6ae387b6940a5023.tar.gz
jgit-ad9c217f4954dc50f629b3eb6ae387b6940a5023.zip
PushCommand: allow users to disable use of bitmaps for push
Reachability bitmaps are designed to speed up the "counting objects" phase of generating a pack during a clone or fetch. They are not optimized for Git clients sending a small topic branch via "git push". In some cases (see [1]), using reachability bitmaps during "git push" can cause significant performance regressions. Add PushCommand#setUseBitmaps(boolean) to allow users to tell "git push" not to use bitmaps. [1]: https://lore.kernel.org/git/87zhoz8b9o.fsf@evledraar.gmail.com/ Change-Id: I7fb7d26084ec63ddfa7249cf58abb85929b30e56 Signed-off-by: kylezhao <kylezhao@tencent.com>
Diffstat (limited to 'org.eclipse.jgit/.settings')
-rw-r--r--org.eclipse.jgit/.settings/.api_filters11
1 files changed, 11 insertions, 0 deletions
diff --git a/org.eclipse.jgit/.settings/.api_filters b/org.eclipse.jgit/.settings/.api_filters
new file mode 100644
index 0000000000..6992fa9148
--- /dev/null
+++ b/org.eclipse.jgit/.settings/.api_filters
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<component id="org.eclipse.jgit" version="2">
+ <resource path="src/org/eclipse/jgit/transport/Transport.java" type="org.eclipse.jgit.transport.Transport">
+ <filter id="336658481">
+ <message_arguments>
+ <message_argument value="org.eclipse.jgit.transport.Transport"/>
+ <message_argument value="DEFAULT_PUSH_USE_BITMAPS"/>
+ </message_arguments>
+ </filter>
+ </resource>
+</component>