summaryrefslogtreecommitdiff
path: root/Documentation/technical
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-12-05 20:02:31 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-12-10 16:14:16 -0800
commit606e435a0a11634744282068174240caf2926fec (patch)
tree2de854c037ffcfd5fd82a6c655f6e129ebcaa9e8 /Documentation/technical
parentsend-pack: forbid pushing from a shallow repository (diff)
downloadtgif-606e435a0a11634744282068174240caf2926fec.tar.xz
clone: prevent --reference to a shallow repository
If we borrow objects from another repository, we should also pay attention to their $GIT_DIR/shallow (and even info/grafts). But current alternates code does not. Reject alternate repos that are shallow because we do not do it right. In future the alternate code may be updated to check $GIT_DIR/shallow properly so that this restriction could be lifted. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical')
0 files changed, 0 insertions, 0 deletions