mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
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 <nico@fluxnic.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
89c3850019
commit
9f17688d93
|
@ -109,15 +109,15 @@ other objects in that pack they already have locally.
|
||||||
Configuration
|
Configuration
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
When configuration variable `repack.UseDeltaBaseOffset` is set
|
By default, the command passes `--delta-base-offset` option to
|
||||||
for the repository, the command passes `--delta-base-offset`
|
'git pack-objects'; this typically results in slightly smaller packs,
|
||||||
option to 'git pack-objects'; this typically results in slightly
|
but the generated packs are incompatible with versions of Git older than
|
||||||
smaller packs, but the generated packs are incompatible with
|
version 1.4.4. If you need to share your repository with such ancient Git
|
||||||
versions of git older than (and including) v1.4.3; do not set
|
versions, either directly or via the dumb http or rsync protocol, then you
|
||||||
the variable in a repository that older version of git needs to
|
need to set the configuration variable `repack.UseDeltaBaseOffset` to
|
||||||
be able to read (this includes repositories from which packs can
|
"false" and repack. Access from old Git versions over the native protocol
|
||||||
be copied out over http or rsync, and people who obtained packs
|
is unaffected by this option as the conversion is performed on the fly
|
||||||
that way can try to use older git with it).
|
as needed in that case.
|
||||||
|
|
||||||
|
|
||||||
Author
|
Author
|
||||||
|
|
Loading…
Reference in a new issue