summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorJeff Hostetler <jeffhostetler@github.com>2024-02-26 21:39:19 +0000
committerJunio C Hamano <gitster@pobox.com>2024-02-26 15:34:02 -0800
commit7c97174dcd6d0f5327cc9b9ddf171ba1d9bba91c (patch)
tree228880551257139f35e11a761574584e754d2858 /contrib/persistent-https
parent48f4cd7155a117b964e446f5c954d1046f2038c0 (diff)
downloadgit-7c97174dcd6d0f5327cc9b9ddf171ba1d9bba91c.tar.gz
git-7c97174dcd6d0f5327cc9b9ddf171ba1d9bba91c.zip
fsmonitor: move untracked-cache invalidation into helper functions
Move the call to invalidate the untracked-cache for the FSEvent pathname into the two helper functions. In a later commit in this series, we will call these helpers from other contexts and it safer to include the UC invalidation in the helpers than to remember to also add it to each helper call-site. This has the side-effect of invalidating the UC *before* we invalidate the ce_flags in the cache-entry. These activities are independent and do not affect each other. Also, by doing the UC work first, we can avoid worrying about "early returns" or the need for the usual "goto the end" in each of the handler functions. Signed-off-by: Jeff Hostetler <jeffhostetler@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions