From 77b7e907943767b6d6c25f94beef13a16b1df6b4 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 23 Oct 2006 07:18:50 +0000 Subject: [PATCH] Autogenerated HTML docs for v1.4.3.1-g178e --- config.txt | 4 ++++ git-pack-objects.html | 20 ++++++++++++++++++-- git-pack-objects.txt | 13 ++++++++++++- git-repack.html | 14 +++++++++++++- git-repack.txt | 14 ++++++++++++++ git-repo-config.html | 11 ++++++++++- 6 files changed, 71 insertions(+), 5 deletions(-) diff --git a/config.txt b/config.txt index 84e38911e..05d657444 100644 --- a/config.txt +++ b/config.txt @@ -230,6 +230,10 @@ pull.octopus:: pull.twohead:: The default merge strategy to use when pulling a single branch. +repack.usedeltabaseoffset:: + Allow gitlink:git-repack[1] to create packs that uses + delta-base offset. Defaults to false. + show.difftree:: The default gitlink:git-diff-tree[1] arguments to be used for gitlink:git-show[1]. diff --git a/git-pack-objects.html b/git-pack-objects.html index b9cd911cc..74fd36eb0 100644 --- a/git-pack-objects.html +++ b/git-pack-objects.html @@ -273,7 +273,7 @@ git-pack-objects(1) Manual Page

SYNOPSIS

-
git-pack-objects [-q] [--no-reuse-delta] [--non-empty] +
git-pack-objects [-q] [--no-reuse-delta] [--delta-base-offset] [--non-empty] [--local] [--incremental] [--window=N] [--depth=N] [--revs [--unpacked | --all]*] [--stdout | base-name] < object-list
@@ -425,6 +425,22 @@ base-name but compute them from scratch.

+
+--delta-base-offset +
+
+

+ A packed archive can express base object of a delta as + either 20-byte object name or as an offset in the + stream, but older version of git does not understand the + latter. By default, git-pack-objects only uses the + former format for better compatibility. This option + allows the command to use the latter format for + compactness. Depending on the average delta chain + length, this option typically shrinks the resulting + packfile by 3-5 per-cent. +

+

Author

@@ -447,7 +463,7 @@ base-name diff --git a/git-pack-objects.txt b/git-pack-objects.txt index f52e8fa8b..a1e55054b 100644 --- a/git-pack-objects.txt +++ b/git-pack-objects.txt @@ -9,7 +9,7 @@ git-pack-objects - Create a packed archive of objects SYNOPSIS -------- [verse] -'git-pack-objects' [-q] [--no-reuse-delta] [--non-empty] +'git-pack-objects' [-q] [--no-reuse-delta] [--delta-base-offset] [--non-empty] [--local] [--incremental] [--window=N] [--depth=N] [--revs [--unpacked | --all]*] [--stdout | base-name] < object-list @@ -111,6 +111,17 @@ base-name:: This flag tells the command not to reuse existing deltas but compute them from scratch. +--delta-base-offset:: + A packed archive can express base object of a delta as + either 20-byte object name or as an offset in the + stream, but older version of git does not understand the + latter. By default, git-pack-objects only uses the + former format for better compatibility. This option + allows the command to use the latter format for + compactness. Depending on the average delta chain + length, this option typically shrinks the resulting + packfile by 3-5 per-cent. + Author ------ diff --git a/git-repack.html b/git-repack.html index 7afbe5625..6d4c22adb 100644 --- a/git-repack.html +++ b/git-repack.html @@ -363,6 +363,18 @@ engines, disk storage, etc.

+

Configuration

+
+

When configuration variable repack.UseDeltaBaseOffset is set +for the repository, 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 (and including) v1.4.3; do not set +the variable in a repository that older version of git needs to +be able to read (this includes repositories from which packs can +be copied out over http or rsync, and people who obtained packs +that way can try to use older git with it).

+

Author

Written by Linus Torvalds <torvalds@osdl.org>

@@ -382,7 +394,7 @@ engines, disk storage, etc.

diff --git a/git-repack.txt b/git-repack.txt index d2eaa0995..0fa47e3b0 100644 --- a/git-repack.txt +++ b/git-repack.txt @@ -67,6 +67,20 @@ OPTIONS The default value for both --window and --depth is 10. +Configuration +------------- + +When configuration variable `repack.UseDeltaBaseOffset` is set +for the repository, 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 (and including) v1.4.3; do not set +the variable in a repository that older version of git needs to +be able to read (this includes repositories from which packs can +be copied out over http or rsync, and people who obtained packs +that way can try to use older git with it). + + Author ------ Written by Linus Torvalds diff --git a/git-repo-config.html b/git-repo-config.html index 98591805a..3a7dc5a54 100644 --- a/git-repo-config.html +++ b/git-repo-config.html @@ -914,6 +914,15 @@ pull.twohead

+repack.usedeltabaseoffset +
+
+

+ Allow git-repack(1) to create packs that uses + delta-base offset. Defaults to false. +

+
+
show.difftree
@@ -1036,7 +1045,7 @@ receive.denyNonFastforwads -- 2.26.2