fsmonitor: refactor refresh callback on directory events
commite5da3ddbe9b21cbf73ba451794d90792693009e2
authorJeff Hostetler <jeffhostetler@github.com>
Mon, 26 Feb 2024 21:39:14 +0000 (26 21:39 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Feb 2024 23:34:01 +0000 (26 15:34 -0800)
treebec5b2a49dfddb54e2f3a583192f7cd1a435c22f
parent32ca706fadb947e7cb461f4c9780ccd233ef93d9
fsmonitor: refactor refresh callback on directory events

Move the code to handle directory FSEvents (containing pathnames with
a trailing slash) into a helper function.

Signed-off-by: Jeff Hostetler <jeffhostetler@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fsmonitor.c