From 4a81bfa1d97ed5d1952f5b94dd7eeedddc21d457 Mon Sep 17 00:00:00 2001 From: Jonathon Mah Date: Thu, 18 Jul 2013 09:53:25 -0700 Subject: Documentation: remove --prune from pack-refs examples The option has been the default for a while, and doesn't otherwise appear in the page. Signed-off-by: Jonathon Mah Signed-off-by: Junio C Hamano --- Documentation/git-pack-refs.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Documentation') diff --git a/Documentation/git-pack-refs.txt b/Documentation/git-pack-refs.txt index f131677478..154081f2de 100644 --- a/Documentation/git-pack-refs.txt +++ b/Documentation/git-pack-refs.txt @@ -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, -- cgit v1.2.1 From 8c3ca72623121684e39be085588b9ef7c6306caa Mon Sep 17 00:00:00 2001 From: Jonathon Mah Date: Thu, 18 Jul 2013 09:53:55 -0700 Subject: Documentation: fix git-prune example usage Signed-off-by: Jonathon Mah Signed-off-by: Junio C Hamano --- Documentation/git-prune.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Documentation') diff --git a/Documentation/git-prune.txt b/Documentation/git-prune.txt index 80d01b0571..bf824108c1 100644 --- a/Documentation/git-prune.txt +++ b/Documentation/git-prune.txt @@ -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 -- cgit v1.2.1