]> source.dussan.org Git - jgit.git/commitdiff
Merge branch 'stable-6.4' into stable-6.5 27/204927/2
authorMatthias Sohn <matthias.sohn@sap.com>
Thu, 12 Oct 2023 23:52:43 +0000 (01:52 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 13 Oct 2023 00:07:39 +0000 (02:07 +0200)
* stable-6.4:
  PackConfig: fix @since tags
  Remove unused API problem filters
  Add support for git config repack.packKeptObjects
  Do not exclude objects in locked packs from bitmap processing

Change-Id: I2951d01f5f4581bee20079508cd8ee6ca8554f1f

1  2 
Documentation/config-options.md
org.eclipse.jgit.pgm/resources/org/eclipse/jgit/pgm/internal/CLIText.properties
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackConfig.java

Simple merge
index c4b6bf955ed8a4370004dca77a818780c7a2976d,2b49f956ff40b2ffe4bac9661869834be2ae0108..7d6f40a51b04981523ebadee52bb1ab1b479e881
@@@ -828,13 -834,13 +834,20 @@@ public final class ConfigConstants 
         */
        public static final String CONFIG_KEY_WINDOW_MEMORY = "windowmemory";
  
 +      /**
 +       * the "pack.minBytesForObjSizeIndex" key
 +       *
 +       * @since 6.5
 +       */
 +      public static final String CONFIG_KEY_MIN_BYTES_OBJ_SIZE_INDEX = "minBytesForObjSizeIndex";
 +
+       /**
+        * The "repack.packKeptObjects" key
+        *
+        * @since 5.13.3
+        */
+       public static final String CONFIG_KEY_PACK_KEPT_OBJECTS = "packkeptobjects";
        /**
         * The "feature" section
         *
index a0c978f6ea328b7c6e7f333cbb69b8642076a1af,ff925dbe8de0b74d36c778561f29a24cdf87b06a..a8180d1d8d5a4602623f43171ffa40a32a979ff0
@@@ -36,10 -36,11 +36,12 @@@ import static org.eclipse.jgit.lib.Conf
  import static org.eclipse.jgit.lib.ConfigConstants.CONFIG_KEY_WAIT_PREVENT_RACYPACK;
  import static org.eclipse.jgit.lib.ConfigConstants.CONFIG_KEY_WINDOW;
  import static org.eclipse.jgit.lib.ConfigConstants.CONFIG_KEY_WINDOW_MEMORY;
 +import static org.eclipse.jgit.lib.ConfigConstants.CONFIG_KEY_MIN_BYTES_OBJ_SIZE_INDEX;
  import static org.eclipse.jgit.lib.ConfigConstants.CONFIG_PACK_SECTION;
+ import static org.eclipse.jgit.lib.ConfigConstants.CONFIG_KEY_PACK_KEPT_OBJECTS;
  import static org.eclipse.jgit.lib.ConfigConstants.CONFIG_KEY_PRESERVE_OLD_PACKS;
  import static org.eclipse.jgit.lib.ConfigConstants.CONFIG_KEY_PRUNE_PRESERVED;
+ import static org.eclipse.jgit.lib.ConfigConstants.CONFIG_REPACK_SECTION;
  
  import java.time.Duration;
  import java.util.concurrent.Executor;