summaryrefslogtreecommitdiff
path: root/t/t4018/php-interface
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2018-07-12 17:03:06 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-07-16 12:56:14 -0700
commitdc0a13f6813f35bae5fd2de6af4d5524a20d5b82 (patch)
tree6b78e5172d41cb0363e323e5f72c170f7d3bdc97 /t/t4018/php-interface
parentclone: check connectivity even if clone is partial (diff)
downloadtgif-dc0a13f6813f35bae5fd2de6af4d5524a20d5b82.tar.xz
revision: tolerate promised targets of tags
In handle_commit(), it is fatal for an annotated tag to point to a non-existent object. --exclude-promisor-objects should relax this rule and allow non-existent objects that are promisor objects, but this is not the case. Update handle_commit() to tolerate this situation. This was observed when cloning from a repository with an annotated tag pointing to a blob. The test included in this patch demonstrates this case. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/php-interface')
0 files changed, 0 insertions, 0 deletions