From 90cbae9ce5d22df29867be9026c514b8c79e3d31 Mon Sep 17 00:00:00 2001 From: Elijah Newren Date: Tue, 16 May 2023 06:33:48 +0000 Subject: statinfo: move stat_{data,validity} functions from cache/read-cache These functions do not depend upon struct cache_entry or struct index_state in any way, and it seems more logical to break them out into this file, especially since statinfo.h already has the struct stat_data declaration. Diff best viewed with `--color-moved`. Signed-off-by: Elijah Newren Signed-off-by: Junio C Hamano --- shallow.c | 1 + 1 file changed, 1 insertion(+) (limited to 'shallow.c') diff --git a/shallow.c b/shallow.c index 128f56179e..a2ebf0af2b 100644 --- a/shallow.c +++ b/shallow.c @@ -17,6 +17,7 @@ #include "list-objects.h" #include "commit-reach.h" #include "shallow.h" +#include "statinfo.h" #include "trace.h" #include "wrapper.h" -- cgit v1.2.3