summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-05-16 06:33:48 (GMT)
committerJunio C Hamano <gitster@pobox.com>2023-06-21 20:39:53 (GMT)
commit90cbae9ce5d22df29867be9026c514b8c79e3d31 (patch)
tree71555e4f3fd1e7d6027880a5667cc60a8ead8b06 /object.c
parent6cee5ebc7af2a05dce64d04ac2ed6aa7ed872f88 (diff)
downloadgit-90cbae9ce5d22df29867be9026c514b8c79e3d31.zip
git-90cbae9ce5d22df29867be9026c514b8c79e3d31.tar.gz
git-90cbae9ce5d22df29867be9026c514b8c79e3d31.tar.bz2
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 <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object.c')
-rw-r--r--object.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/object.c b/object.c
index 6d4ef15..333e736 100644
--- a/object.c
+++ b/object.c
@@ -6,6 +6,7 @@
#include "object-file.h"
#include "object-store.h"
#include "blob.h"
+#include "statinfo.h"
#include "tree.h"
#include "commit.h"
#include "tag.h"