diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2019-11-12 16:34:19 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-13 11:48:47 +0900 |
commit | e362fadcd03753471cf8e7fc91d6d721b7423b8f (patch) | |
tree | 8b9bbf166b6c4c9555f91ceb7ee22c38fe74d582 /Documentation/RelNotes/2.3.5.txt | |
parent | fetch: remove fetch_if_missing=0 (diff) | |
download | tgif-e362fadcd03753471cf8e7fc91d6d721b7423b8f.tar.xz |
clone: remove fetch_if_missing=0
Commit 6462d5eb9a ("fetch: remove fetch_if_missing=0", 2019-11-08)
strove to remove the need for fetch_if_missing=0 from the fetching
mechanism, so it is plausible to attempt removing fetch_if_missing=0
from clone as well. But doing so reveals a bug - when the server does
not send an object directly pointed to by a ref, this should be an
error, not a trigger for a lazy fetch. (This case in the fetching
mechanism was covered by a test using "git clone", not "git fetch",
which is why the aforementioned commit didn't uncover the bug.)
The bug can be fixed by suppressing lazy-fetching during the
connectivity check. Fix this bug, and remove fetch_if_missing from
clone.
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/2.3.5.txt')
0 files changed, 0 insertions, 0 deletions