path.c: refactor relative_path(), not only strip prefix
[gitweb.git] / Documentation / git-prune-packed.txt
index 8d96a91b410d91eefb6b424d2f3c54e33520b92b..80dc022edea58b76aeea2f7df0876fd98bc6dc05 100644 (file)
@@ -3,46 +3,45 @@ git-prune-packed(1)
 
 NAME
 ----
-git-prune-packed - Program used to remove the extra object files that are now
-residing in a pack file.
+git-prune-packed - Remove extra objects that are already in pack files
 
 
 SYNOPSIS
 --------
-'git-prune-packed'
+[verse]
+'git prune-packed' [-n|--dry-run] [-q|--quiet]
+
 
 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.
+This program searches 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.
+Packs are used to reduce the load on mirror systems, backup engines,
+disk storage, etc.
+
 
 OPTIONS
 -------
 -n::
+--dry-run::
         Don't actually remove any objects, only show those that would have been
         removed.
 
-Author
-------
-Written by Linus Torvalds <torvalds@osdl.org>
+-q::
+--quiet::
+       Squelch the progress indicator.
 
-Documentation
---------------
-Documentation by Ryan Anderson <ryan@michonline.com>
-
-See-Also
+SEE ALSO
 --------
-gitlink:git-pack-objects[1]
-gitlink:git-repack[1]
+linkgit:git-pack-objects[1]
+linkgit:git-repack[1]
 
 GIT
 ---
-Part of the gitlink:git[7] suite
-
+Part of the linkgit:git[1] suite