summaryrefslogtreecommitdiff
path: root/Documentation/everyday.txt
diff options
context:
space:
mode:
authorDmitry Potapov <dpotapov@gmail.com>2008-04-14 12:17:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-04-23 04:53:37 (GMT)
commit208641cf850125a23ccca99630ea2caa70953e44 (patch)
tree403c7a285bf97079a1ffede521aef1963e31b462 /Documentation/everyday.txt
parent34b5cd1fe9f9130b747388a1a968a8d4c9906865 (diff)
downloadgit-208641cf850125a23ccca99630ea2caa70953e44.zip
git-208641cf850125a23ccca99630ea2caa70953e44.tar.gz
git-208641cf850125a23ccca99630ea2caa70953e44.tar.bz2
git-gc --prune is deprecated
25ee9731c137d0a24b0f4879eb0b0cce9b77d5b0 made the '--prune' option deprecated and removed its description from the git-gc man page. This patch removes all references to this option from the rest of the Git documentation. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/everyday.txt')
-rw-r--r--Documentation/everyday.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/Documentation/everyday.txt b/Documentation/everyday.txt
index fdbd15a..e598cdd 100644
--- a/Documentation/everyday.txt
+++ b/Documentation/everyday.txt
@@ -48,14 +48,12 @@ $ git gc <3>
repository health reasonably well.
<2> check how many loose objects there are and how much
disk space is wasted by not repacking.
-<3> repacks the local repository and performs other housekeeping tasks. Running
-without `--prune` is a safe operation even while other ones are in progress.
+<3> repacks the local repository and performs other housekeeping tasks.
Repack a small project into single pack.::
+
------------
$ git gc <1>
-$ git gc --prune
------------
+
<1> pack all the objects reachable from the refs into one pack,
@@ -182,7 +180,7 @@ $ git pull <3>
$ git log -p ORIG_HEAD.. arch/i386 include/asm-i386 <4>
$ git pull git://git.kernel.org/pub/.../jgarzik/libata-dev.git ALL <5>
$ git reset --hard ORIG_HEAD <6>
-$ git gc --prune <7>
+$ git gc <7>
$ git fetch --tags <8>
------------
+