summaryrefslogtreecommitdiff
path: root/git-cvsexportcommit.perl
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2013-03-25 20:26:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-03-27 20:47:18 (GMT)
commit0433ad128c59f233046b3f8a68246ca3a8a77af8 (patch)
treef8d6980d69472867ced6b8d773aa3bcf69a33985 /git-cvsexportcommit.perl
parent0aac7bb287645dd72ad8ad6b805128b8ff7f111f (diff)
downloadgit-0433ad128c59f233046b3f8a68246ca3a8a77af8.zip
git-0433ad128c59f233046b3f8a68246ca3a8a77af8.tar.gz
git-0433ad128c59f233046b3f8a68246ca3a8a77af8.tar.bz2
clone: run check_everything_connected
When we fetch from a remote, we do a revision walk to make sure that what we received is connected to our existing history. We do not do the same check for clone, which should be able to check that we received an intact history graph. The upside of this patch is that it will make clone more resilient against propagating repository corruption. The downside is that we will now traverse "rev-list --objects --all" down to the roots, which may take some time (it is especially noticeable for a "--local --bare" clone). Note that we need to adjust t5710, which tries to make such a bogus clone. Rather than checking after the fact that our clone is bogus, we can simplify it to just make sure "git clone" reports failure. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-cvsexportcommit.perl')
0 files changed, 0 insertions, 0 deletions