@matheusbsbs / matheus-bagliano / commits / 9f17688d93
Fork 0

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>

Nicolas Pitre committed Feb 4, 2010 at 16:19 UTC 9f17688d93c18bdd0532d2733710dc4d23921282
1 file changed +9 -9
Documentation/git-repack.txt
+9 -9
@@ -109,15 +109,15 @@ other objects in that pack they already have locally.
109 Configuration
110 -------------
111
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.
121
122
123 Author