Browse Source

[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>
maint
Junio C Hamano 20 years ago
parent
commit
e31bb3bb93
  1. 4
      Documentation/git-pack-objects.txt
  2. 42
      Documentation/git-prune-packed.txt
  3. 40
      Documentation/git-repack-script.txt
  4. 11
      Documentation/git.txt

4
Documentation/git-pack-objects.txt

@ -74,6 +74,10 @@ Documentation @@ -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

42
Documentation/git-prune-packed.txt

@ -0,0 +1,42 @@ @@ -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

40
Documentation/git-repack-script.txt

@ -0,0 +1,40 @@ @@ -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

11
Documentation/git.txt

@ -71,6 +71,13 @@ link:git-hash-object.html[git-hash-object]:: @@ -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]:: @@ -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:

Loading…
Cancel
Save