Re: [PATCH 1/2] clone, fetch: remove redundant transport check

2017-12-14 Thread Junio C Hamano
Jonathan Tan writes: > Prior to commit a2d725b7bdf7 ("Use an external program to implement > fetching with curl", 2009-08-05), if Git was compiled with NO_CURL, the > get_refs_list and fetch methods in struct transport might not be > populated, hence the checks in clone

[PATCH 1/2] clone, fetch: remove redundant transport check

2017-12-14 Thread Jonathan Tan
Prior to commit a2d725b7bdf7 ("Use an external program to implement fetching with curl", 2009-08-05), if Git was compiled with NO_CURL, the get_refs_list and fetch methods in struct transport might not be populated, hence the checks in clone and fetch. After that commit, all transports populate