diff options
| author | Elijah Newren <newren@gmail.com> | 2023-05-16 06:33:48 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-06-21 13:39:53 -0700 |
| commit | 90cbae9ce5d22df29867be9026c514b8c79e3d31 (patch) | |
| tree | 71555e4f3fd1e7d6027880a5667cc60a8ead8b06 /refs | |
| parent | read-cache: move shared add/checkout/commit code (diff) | |
| download | git-90cbae9ce5d22df29867be9026c514b8c79e3d31.tar.gz git-90cbae9ce5d22df29867be9026c514b8c79e3d31.zip | |
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 'refs')
| -rw-r--r-- | refs/packed-backend.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/refs/packed-backend.c b/refs/packed-backend.c index 291e53f5cf..f21882cc2e 100644 --- a/refs/packed-backend.c +++ b/refs/packed-backend.c @@ -10,6 +10,7 @@ #include "../iterator.h" #include "../lockfile.h" #include "../chdir-notify.h" +#include "../statinfo.h" #include "../wrapper.h" #include "../write-or-die.h" |
