From 42b7867a76b70bb30e825bc111b7468bc3c43fa0 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Fri, 26 Jan 2007 09:44:51 +0000 Subject: [PATCH] Autogenerated HTML docs for v1.5.0-rc2-g8a816 --- git-pack-refs.html | 13 ++++- git-pack-refs.txt | 13 ++++- git.html | 2 +- howto-index.html | 12 +++- howto-index.txt | 7 +++ howto/dangling-objects.txt | 109 +++++++++++++++++++++++++++++++++++++ 6 files changed, 151 insertions(+), 5 deletions(-) create mode 100644 howto/dangling-objects.txt diff --git a/git-pack-refs.html b/git-pack-refs.html index da7856c35..04f506b2d 100644 --- a/git-pack-refs.html +++ b/git-pack-refs.html @@ -290,6 +290,14 @@ traditional $GIT_DIR/refs hierarchy, it is looked up in this file and used if found.

Subsequent updates to branches always creates new file under $GIT_DIR/refs hierarchy.

+

A recommended practice to deal with a repository with too many +refs is to pack its refs with --all --prune once, and +occasionally run git-pack-refs --prune. Tags are by +definition stationary and are not expected to change. Branch +heads will be packed with the initial pack-refs --all, but +only the currently active branch heads will become unpacked, +and next pack-refs (without --all) will leave them +unpacked.

OPTIONS

@@ -299,7 +307,8 @@ file and used if found.

-The command by default packs all tags and leaves branch tips +The command by default packs all tags and refs that are already +packed, and leaves other refs alone. This is because branches are expected to be actively developed and packing their tips does not help performance. This option causes branch tips to be packed as well. Useful for @@ -327,7 +336,7 @@ hierarchy after packing them. This option tells it not to.

diff --git a/git-pack-refs.txt b/git-pack-refs.txt index 464269fbb..a20fc7de4 100644 --- a/git-pack-refs.txt +++ b/git-pack-refs.txt @@ -29,12 +29,23 @@ file and used if found. Subsequent updates to branches always creates new file under `$GIT_DIR/refs` hierarchy. +A recommended practice to deal with a repository with too many +refs is to pack its refs with `--all --prune` once, and +occasionally run `git-pack-refs \--prune`. Tags are by +definition stationary and are not expected to change. Branch +heads will be packed with the initial `pack-refs --all`, but +only the currently active branch heads will become unpacked, +and next `pack-refs` (without `--all`) will leave them +unpacked. + + OPTIONS ------- \--all:: -The command by default packs all tags and leaves branch tips +The command by default packs all tags and refs that are already +packed, and leaves other refs alone. This is because branches are expected to be actively developed and packing their tips does not help performance. This option causes branch tips to be packed as well. Useful for diff --git a/git.html b/git.html index fb3e9e35d..76c121c43 100644 --- a/git.html +++ b/git.html @@ -2285,7 +2285,7 @@ contributors on the git-list <git@vger.kernel.org>.

diff --git a/howto-index.html b/howto-index.html index 9310f262f..a1eaac2c5 100644 --- a/howto-index.html +++ b/howto-index.html @@ -268,6 +268,16 @@ people describing how they use git in their workflow.

+

Linus describes what dangling objects are, when they +are left behind, and how to view their relationship with branch +heads in gitk

+