1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-06-02 03:36:09 +02:00

[PATCH] Add documentation for git repack and git-prune-packed.

[jc: the patch forgot to update the main git.txt documentation,
making all these new documentation practically no-op, so I added
a minimum attempt linking them from there.]

Signed-off-by: Ryan Anderson <ryan@michonline.com>
This commit is contained in:
Junio C Hamano 2005-08-15 15:48:47 -07:00
parent b0c6f8d767
commit e31bb3bb93
4 changed files with 97 additions and 0 deletions

View File

@ -74,6 +74,10 @@ Documentation
-------------
Documentation by Junio C Hamano
See-Also
--------
git-repack-script(1) git-prune-packed(1)
GIT
---
Part of the link:git.html[git] suite

View File

@ -0,0 +1,42 @@
git-prune-packed(1)
=====================
v0.1, August 2005
NAME
----
git-prune-packed - Program used to remove the extra object files that are now
residing in a pack file.
SYNOPSIS
--------
'git-prune-packed'
DESCRIPTION
-----------
This program search the GIT_OBJECT_DIR for all objects that currently exist in
a pack file as well as the independent object directories.
All such extra objects are removed.
A pack is a collection of objects, individually compressed, with delta
compression applied, stored in a single file, with an associated index file.
Packs are used to reduce the load on mirror systems, backup engines, disk storage, etc.
Author
------
Written by Linus Torvalds <torvalds@osdl.org>
Documentation
--------------
Documentation by Ryan Anderson <ryan@michonline.com>
See-Also
--------
git-pack-objects(1) git-repack-script(1)
GIT
---
Part of the link:git.html[git] suite

View File

@ -0,0 +1,40 @@
git-repack-script(1)
=====================
v0.1, August 2005
NAME
----
git-repack-script - Script used to pack a repository from a collection of
objects into pack files.
SYNOPSIS
--------
'git-repack-script'
DESCRIPTION
-----------
This script is used to combine all objects that do not currently reside in a
"pack", into a pack.
A pack is a collection of objects, individually compressed, with delta
compression applied, stored in a single file, with an associated index file.
Packs are used to reduce the load on mirror systems, backup engines, disk storage, etc.
Author
------
Written by Linus Torvalds <torvalds@osdl.org>
Documentation
--------------
Documentation by Ryan Anderson <ryan@michonline.com>
See-Also
--------
git-pack-objects(1) git-prune-packed(1)
GIT
---
Part of the link:git.html[git] suite

View File

@ -71,6 +71,13 @@ link:git-hash-object.html[git-hash-object]::
link:git-write-tree.html[git-write-tree]::
Creates a tree from the current cache
link:git-pack-objects.html[git-pack-objects]::
Creates a packed archive of objects.
link:git-prune-packed.html[git-prune-packed]::
Remove extra objects that are already in pack files.
Interrogation commands
~~~~~~~~~~~~~~~~~~~~~~
link:git-cat-file.html[git-cat-file]::
@ -191,6 +198,10 @@ link:git-commit-script.html[git-commit-script]::
link:git-show-branches-script.html[git-show-branches-script]::
Show branches and their commits.
link:git-repack-script.html[git-repack-script]::
Pack unpacked objects in a repository.
Ancillary Commands
------------------
Manipulators: