URL 归一化
所有 URL 相关操作在比较或缓存前会去除 .git 后缀。适用于 cache update --from、query --from、find --from 及 URL 缓存文件名生成(source_<md5>.json)。例如,https://github.com/org/repo.git 和 https://github.com/org/repo 视为同一 URL。
所有 URL 相关操作在比较或缓存前会去除 .git 后缀。适用于 cache update --from、query --from、find --from 及 URL 缓存文件名生成(source_<md5>.json)。例如,https://github.com/org/repo.git 和 https://github.com/org/repo 视为同一 URL。