git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] git-repack doc: remove discussion of ancient caveat

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Jul 15, 2022, 07:51 UTC
Message-ID
<patch-1.1-363f84a3fa7-20220715T075114Z-avarab@gmail.com>

The backwards compatibility caveat discussed her hasn't been a concern for anyone after Git v1.6.0. Let's simply remove it, I daresay nobody's concerned these days with having git clients running older than 2008-era git.

See b6945f570ac (git-repack: repo.usedeltabaseoffset, 2006-10-13) and 9f17688d93c (update git-repack documentation wrt repack.UseDeltaBaseOffset, 2010-02-04) for the commits that previously introduced and adjusted this documentation.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
---
 Documentation/git-repack.txt | 10 ----------
 1 file changed, 10 deletions(-)
diff --git a/Documentation/git-repack.txt b/Documentation/git-repack.txt
index 0bf13893d81..fe1eac37090 100644
--- a/Documentation/git-repack.txt
+++ b/Documentation/git-repack.txt
@@ -218,16 +218,6 @@ CONFIGURATION
 Various configuration variables affect packing, see
 linkgit:git-config[1] (search for "pack" and "delta").
 
-By default, the command passes `--delta-base-offset` option to
-'git pack-objects'; this typically results in slightly smaller packs,
-but the generated packs are incompatible with versions of Git older than
-version 1.4.4. If you need to share your repository with such ancient Git
-versions, either directly or via the dumb http protocol, then you
-need to set the configuration variable `repack.UseDeltaBaseOffset` to
-"false" and repack. Access from old Git versions over the native protocol
-is unaffected by this option as the conversion is performed on the fly
-as needed in that case.
-
 Delta compression is not used on objects larger than the
 `core.bigFileThreshold` configuration variable and on files with the
 attribute `delta` set to false.
-- 
2.37.1.996.g651fc6e809f
Next: Junio C Hamano
Message 1 of 11 in “git-repack doc: remove discussion of ancient caveat”
  1. git-repack doc: remove discussion of ancient caveatÆvar Arnfjörð Bjarmason, Jul 15, 2022
  2. Junio C HamanoJul 15, 2022
  3. Ævar Arnfjörð BjarmasonJul 16, 2022
  4. Junio C HamanoJul 18, 2022
  5. Ævar Arnfjörð BjarmasonJul 18, 2022
  6. Junio C HamanoJul 19, 2022
  7. Ævar Arnfjörð BjarmasonJul 19, 2022
  8. repack: document there is no need to avoid delta-base-offsetJunio C Hamano, Jul 19, 2022
  9. Ævar Arnfjörð BjarmasonJul 19, 2022
  10. Junio C HamanoJul 19, 2022
  11. docs: remove pre-v1.6.0 "repack --delta-base-offset" docsÆvar Arnfjörð Bjarmason, Jul 19, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.