tianocore / edk2-edkrepo

Repository for the edkrepo utility
Other
21 stars 24 forks source link

Selective Caching Does Not Function When Default Remote Name is Used #185

Closed ashedesimone closed 1 year ago

ashedesimone commented 1 year ago

When the default remote name 'origin' is used for a cached repository the cache's directory name will be the repository name not the remote name; when this occurs the url_or_name parameter will match the value of remote.name. This commit updates the conditional in update_cache() to handle this case by checking for both possibilities.

Fixes #184