microsoft / Linux-CommA

The Linux Commit Analyzer tracks patches from upstream and downstream kernels.
MIT License
8 stars 8 forks source link

fetch_remote_ref() improvements #70

Closed avylove closed 1 year ago

avylove commented 1 year ago

Previously, the fetch at depth 1, which acts as a guard for repos that don't support shallow_since, wiped out the existing depth causing unnecessary replication. Now, the existing local ref if validated and used if it exists.