Skip to content

Allow caching of negative FindCommit matches

Stan Hu requested to merge sh-cache-negative-entries-find-commit into master

When FindCommit ref caching is enabled, negative matches would previously not be cached. However, if a source branch is deleted, there's no need to keep looking up the same commit. This change caches the result of a nil commit.

Edited by Stan Hu

Merge request reports