]> git.ipfire.org Git - thirdparty/git.git/commit - fsmonitor.c
fsmonitor: refactor refresh callback for non-directory events
authorJeff Hostetler <jeffhostetler@github.com>
Mon, 26 Feb 2024 21:39:16 +0000 (21:39 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Feb 2024 23:34:02 +0000 (15:34 -0800)
commit8687c2b067a89e0c91a65b46b4f5eccf041e6718
treed0c57233391e10fde45eb34083ef3d4047acb300
parent7a15a62aebdf1f5aac2f74de67585908191c3bc4
fsmonitor: refactor refresh callback for non-directory events

Move the code that handles unqualified FSEvents (without 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