dimitri/el-get — pull request #1921 by iqbalansari (2014-10-05 07:25:31+00:00)
Title: Fix for git shallow clones

This fixes the bug described in #1920. It uses a couple of approaches to check if shallow clone is supported

1) It maintains a list of known domains that support shallow clone and checks if url belongs to supported domain
2) If the urls domain is not listed in list of known smart domains, it tries parsing response headers to detect of shallow clone is supported

Tests for new functions have also been added.