diff options
author | Elijah Newren <newren@gmail.com> | 2023-05-16 08:34:08 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-06-21 22:39:54 +0200 |
commit | 68d686460f58e45f2eb080e0cdf314987eca5ce5 (patch) | |
tree | 6bd11efceddaa18b27aa2b3fe4ef2c4a942f5e9a /sparse-index.c | |
parent | hash-ll, hashmap: move oidhash() to hash-ll (diff) | |
download | git-68d686460f58e45f2eb080e0cdf314987eca5ce5.tar.xz git-68d686460f58e45f2eb080e0cdf314987eca5ce5.zip |
fsmonitor-ll.h: split this header out of fsmonitor.h
This creates a new fsmonitor-ll.h with most of the functions from
fsmonitor.h, though it leaves three inline functions where they were.
Two-thirds of the files that previously included fsmonitor.h did not
need those three inline functions or the six extra includes those inline
functions required, so this allows them to only include the lower level
header.
Diff best viewed with `--color-moved`.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
-rw-r--r-- | sparse-index.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sparse-index.c b/sparse-index.c index 2c47954d93..90d0462256 100644 --- a/sparse-index.c +++ b/sparse-index.c @@ -3,6 +3,7 @@ #include "environment.h" #include "gettext.h" #include "name-hash.h" +#include "read-cache-ll.h" #include "repository.h" #include "sparse-index.h" #include "tree.h" @@ -11,7 +12,7 @@ #include "cache-tree.h" #include "config.h" #include "dir.h" -#include "fsmonitor.h" +#include "fsmonitor-ll.h" struct modify_index_context { struct index_state *write; |