fetch: document that pruning happens before fetching

This was changed in 10a6cc8 (fetch --prune: Run prune before
fetching, 2014-01-02), but it seems that nobody in that
discussion realized we were advertising the "after"
explicitly.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jeff King
2016-06-13 19:58:51 -04:00
committed by Junio C Hamano
parent 765428699a
commit 9e70233a17

View File

@ -51,7 +51,7 @@ ifndef::git-pull[]
-p:: -p::
--prune:: --prune::
After fetching, remove any remote-tracking references that no Before fetching, remove any remote-tracking references that no
longer exist on the remote. Tags are not subject to pruning longer exist on the remote. Tags are not subject to pruning
if they are fetched only because of the default tag if they are fetched only because of the default tag
auto-following or due to a --tags option. However, if tags auto-following or due to a --tags option. However, if tags