]> git.ipfire.org Git - thirdparty/git.git/commit
fetch: add --refetch option
authorRobert Coup <robert@coup.net.nz>
Mon, 28 Mar 2022 14:02:08 +0000 (14:02 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 28 Mar 2022 17:25:52 +0000 (10:25 -0700)
commit3c7bab06e12922fbcb375187eb60ac426fc72a3a
treee1ebe117e15be200ddd71cafdb2bff01ad64a25a
parent869a0eb4ebddad9ea758464526524ed06f5a13a9
fetch: add --refetch option

Teach fetch and transports the --refetch option to force a full fetch
without negotiating common commits with the remote. Use when applying a
new partial clone filter to refetch all matching objects.

Signed-off-by: Robert Coup <robert@coup.net.nz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/fetch-options.txt
builtin/fetch.c
transport-helper.c
transport.c
transport.h