commit | 829165e5e422ff2ac4dab99be81616f511ad3ae7 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Wed Mar 19 10:57:45 2025 +0000 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Wed Mar 19 13:07:44 2025 -0700 |
tree | 3a3981f8e227163311f626ee1d5fbf0b8a830b0d | |
parent | 2696625397d9fe05483b5cbe6f93ee370b7b0350 [diff] |
Do not lock refs when not executing a fetch Locking the local refs is needed only when executing a Git fetch, otherwise keep on using the filtering logic without introducing any local lock. Also remove the recursion in FetchOne.runImpl() and replace with a while/loop for avoiding the nested locking. Change-Id: I57475e3f264efa340765dd357ef6b8bc8e61c284