git-sh-setup.sh: add variable to use the stuck-long mode
[gitweb.git] / Documentation / git-prune.txt
index 80d01b05710e250a5f1d548fca3fba54d50e0f29..058ac0dc854bfd55a13dd0776beaf36b37e8b8a9 100644 (file)
@@ -24,6 +24,8 @@ objects unreachable from any of these head objects from the object database.
 In addition, it
 prunes the unpacked objects that are also found in packs by
 running 'git prune-packed'.
+It also removes entries from .git/shallow that are not reachable by
+any ref.
 
 Note that unreachable, packed objects will remain.  If this is
 not desired, see linkgit:git-repack[1].
@@ -59,7 +61,7 @@ borrows from your repository via its
 `.git/objects/info/alternates`:
 
 ------------
-$ git prune $(cd ../another && $(git rev-parse --all))
+$ git prune $(cd ../another && git rev-parse --all)
 ------------
 
 Notes