Documentation / git-prune.txton commit test-lib.sh: Add new function, test_expect_code (d3bfdb7)
   1git-prune(1)
   2============
   3
   4NAME
   5----
   6git-prune - Prunes all unreachable objects from the object database
   7
   8
   9SYNOPSIS
  10--------
  11'git-prune' [-n]
  12
  13DESCRIPTION
  14-----------
  15
  16This runs `git-fsck-objects --unreachable` using the heads
  17specified on the command line (or `$GIT_DIR/refs/heads/\*` and
  18`$GIT_DIR/refs/tags/\*` if none is specified), and prunes all
  19unreachable objects from the object database.  In addition, it
  20prunes the unpacked objects that are also found in packs by
  21running `git prune-packed`.
  22
  23OPTIONS
  24-------
  25
  26-n::
  27        Do not remove anything; just report what it would
  28        remove.
  29
  30
  31Author
  32------
  33Written by Linus Torvalds <torvalds@osdl.org>
  34
  35Documentation
  36--------------
  37Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
  38
  39GIT
  40---
  41Part of the gitlink:git[7] suite
  42