Skip to content

Commit 9f17688

Browse files
npitregitster
authored andcommitted
update git-repack documentation wrt repack.UseDeltaBaseOffset
This default for repack.UseDeltaBaseOffset has been "true" since Git v1.6.0. Signed-off-by: Nicolas Pitre <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 89c3850 commit 9f17688

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Documentation/git-repack.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@ other objects in that pack they already have locally.
109109
Configuration
110110
-------------
111111

112-
When configuration variable `repack.UseDeltaBaseOffset` is set
113-
for the repository, the command passes `--delta-base-offset`
114-
option to 'git pack-objects'; this typically results in slightly
115-
smaller packs, but the generated packs are incompatible with
116-
versions of git older than (and including) v1.4.3; do not set
117-
the variable in a repository that older version of git needs to
118-
be able to read (this includes repositories from which packs can
119-
be copied out over http or rsync, and people who obtained packs
120-
that way can try to use older git with it).
112+
By default, the command passes `--delta-base-offset` option to
113+
'git pack-objects'; this typically results in slightly smaller packs,
114+
but the generated packs are incompatible with versions of Git older than
115+
version 1.4.4. If you need to share your repository with such ancient Git
116+
versions, either directly or via the dumb http or rsync protocol, then you
117+
need to set the configuration variable `repack.UseDeltaBaseOffset` to
118+
"false" and repack. Access from old Git versions over the native protocol
119+
is unaffected by this option as the conversion is performed on the fly
120+
as needed in that case.
121121

122122

123123
Author

0 commit comments

Comments
 (0)