]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jm/doc-ref-prune'
authorJunio C Hamano <gitster@pobox.com>
Thu, 25 Jul 2013 02:21:15 +0000 (19:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 25 Jul 2013 02:21:15 +0000 (19:21 -0700)
* jm/doc-ref-prune:
  Documentation: fix git-prune example usage
  Documentation: remove --prune from pack-refs examples

Documentation/git-pack-refs.txt
Documentation/git-prune.txt

index f131677478e91f8ab6611a6e45dda56ff48a9e2a..154081f2de269975a09c1f5899dc7d5948c54ca7 100644 (file)
@@ -33,8 +33,8 @@ Subsequent updates to branches always create new files under
 `$GIT_DIR/refs` directory hierarchy.
 
 A recommended practice to deal with a repository with too many
-refs is to pack its refs with `--all --prune` once, and
-occasionally run `git pack-refs --prune`.  Tags are by
+refs is to pack its refs with `--all` once, and
+occasionally run `git pack-refs`.  Tags are by
 definition stationary and are not expected to change.  Branch
 heads will be packed with the initial `pack-refs --all`, but
 only the currently active branch heads will become unpacked,
index 80d01b05710e250a5f1d548fca3fba54d50e0f29..bf824108c116a34972d1dacf1e9fb77db097b2c5 100644 (file)
@@ -59,7 +59,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