commit - e288864f310a1e7de1387da9722da51ac538782e
commit + eb983b4b76029c3b0741efa8c0259a1d52cd5957
blob - 5e6ac2f420d2f25a3991a938f2754f3819982537
blob + f700d534abc0d915d72e8ac802bc4970c3ffd64f
--- lib/fileindex.c
+++ lib/fileindex.c
#include "got_lib_fileindex.h"
#include "got_lib_worktree.h"
+/* got_fileindex_entry flags */
+#define GOT_FILEIDX_F_PATH_LEN 0x00000fff
+#define GOT_FILEIDX_F_STAGE 0x00003000
+#define GOT_FILEIDX_F_EXTENDED 0x00004000
+#define GOT_FILEIDX_F_ASSUME_VALID 0x00008000
+#define GOT_FILEIDX_F_NOT_FLUSHED 0x20000000
+
struct got_fileindex {
struct got_fileindex_tree entries;
int nentries;
blob - 3bbed3dbcef386c81397fef12c3802b316f8143f
blob + 97d2c4fbb3f7316b91f5a0f21d35c1a772c1726f
--- lib/got_lib_fileindex.h
+++ lib/got_lib_fileindex.h
uint8_t commit_sha1[SHA1_DIGEST_LENGTH];
uint32_t flags;
-#define GOT_FILEIDX_F_PATH_LEN 0x00000fff
-#define GOT_FILEIDX_F_STAGE 0x00003000
-#define GOT_FILEIDX_F_EXTENDED 0x00004000
-#define GOT_FILEIDX_F_ASSUME_VALID 0x00008000
-#define GOT_FILEIDX_F_NOT_FLUSHED 0x20000000
/*
* UNIX-style path, relative to work tree root.