diff options
author | Elijah Newren <newren@gmail.com> | 2023-05-16 06:33:56 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-06-21 20:39:53 (GMT) |
commit | 08c46a499aec5b6459fb1d55ff90403c7dc2ee5a (patch) | |
tree | 8fdf8c5a68738d18a93e5c7e0b1a3bc8ef1bc06c /merge-ort-wrappers.c | |
parent | bc47f16db2bccb0398edd93af27086f35a3cb97a (diff) | |
download | git-08c46a499aec5b6459fb1d55ff90403c7dc2ee5a.zip git-08c46a499aec5b6459fb1d55ff90403c7dc2ee5a.tar.gz git-08c46a499aec5b6459fb1d55ff90403c7dc2ee5a.tar.bz2 |
read-cache*.h: move declarations for read-cache.c functions from cache.h
For the functions defined in read-cache.c, move their declarations from
cache.h to a new header, read-cache-ll.h. Also move some related inline
functions from cache.h to read-cache.h. The purpose of the
read-cache-ll.h/read-cache.h split is that about 70% of the sites don't
need the inline functions and the extra headers they include.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-ort-wrappers.c')
-rw-r--r-- | merge-ort-wrappers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/merge-ort-wrappers.c b/merge-ort-wrappers.c index a550753..a0bedcb 100644 --- a/merge-ort-wrappers.c +++ b/merge-ort-wrappers.c @@ -3,6 +3,7 @@ #include "hash.h" #include "merge-ort.h" #include "merge-ort-wrappers.h" +#include "read-cache-ll.h" #include "tree.h" #include "commit.h" |