summaryrefslogtreecommitdiff
path: root/connected.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-12-05 13:02:30 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-12-11 00:14:16 (GMT)
commit0b854bcc2a3b34c09835393234cd807fde08722f (patch)
tree98d2f313e68985c1574668b6a34ac9dbef7eabd0 /connected.c
parent13eb4626c43b3116bb431671d593565eadc36852 (diff)
downloadgit-0b854bcc2a3b34c09835393234cd807fde08722f.zip
git-0b854bcc2a3b34c09835393234cd807fde08722f.tar.gz
git-0b854bcc2a3b34c09835393234cd807fde08722f.tar.bz2
send-pack: forbid pushing from a shallow repository
send-pack can send a pack with loose ends to the server. receive-pack before 6d4bb38 (fetch: verify we have everything we need before updating our ref - 2011-09-01) does not detect this and keeps the pack anyway, which corrupts the repository, at least from fsck point of view. send-pack will learn to safely push from a shallow repository later. 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 'connected.c')
0 files changed, 0 insertions, 0 deletions