summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 85fe23e)
raw | patch | inline | side by side (parent: 85fe23e)
author | Nicolas Pitre <nico@cam.org> | |
Wed, 25 Jun 2008 04:24:53 +0000 (00:24 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 25 Jun 2008 17:56:40 +0000 (10:56 -0700) |
As announced for 1.6.0.
Access over the native protocol by old git versions is unaffected as
this capability is negociated by the protocol. Otherwise setting this
config option to "false" and doing a 'git repack -a -d' is enough to
remain compatible with ancient git versions (older than 1.4.4).
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Access over the native protocol by old git versions is unaffected as
this capability is negociated by the protocol. Otherwise setting this
config option to "false" and doing a 'git repack -a -d' is enough to
remain compatible with ancient git versions (older than 1.4.4).
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt | patch | blob | history | |
git-repack.sh | patch | blob | history |
index 1e09a57c8c5aeb5d49367a4c96f32ebafe07d410..e37b9d6bb42c6989c7739a0a4fff19d83bcbbb8a 100644 (file)
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
<group>". See linkgit:git-remote[1].
repack.usedeltabaseoffset::
- Allow linkgit:git-repack[1] to create packs that uses
- delta-base offset. Defaults to false.
+ By default, linkgit:git-repack[1] creates packs that use
+ delta-base offset. If you need to share your repository with
+ git older than version 1.4.4, either directly or via a dumb
+ protocol such as http, then you need to set this option to
+ "false" and repack. Access from old git versions over the
+ native protocol are unaffected by this option.
show.difftree::
The default linkgit:git-diff-tree[1] arguments to be used
diff --git a/git-repack.sh b/git-repack.sh
index 072d1b40f7d71aa731c90e9af158a0fe5cf89fde..8c3bc134add87f38a764f24c63b9e09f562ad6b1 100755 (executable)
--- a/git-repack.sh
+++ b/git-repack.sh
shift
done
-# Later we will default repack.UseDeltaBaseOffset to true
-default_dbo=false
-
-case "`git config --bool repack.usedeltabaseoffset ||
- echo $default_dbo`" in
+case "`git config --bool repack.usedeltabaseoffset || echo true`" in
true)
extra="$extra --delta-base-offset" ;;
esac