ed693e3 Fix git clone memory exhaustion (CVE-2017-15298)

Authored and Committed by tmz 6 years ago
    Fix git clone memory exhaustion (CVE-2017-15298)
    
    Cherry-pick upstream patch from a937b37e76 (revision: quit pruning diff
    more quickly when possible, 2017-10-13)¹.
    
    Resolves: #1510455, #1510457
    
    ¹ https://github.com/git/git/commit/a937b37e76
    
        
file modified
+10 -1