Commit 8c1f9e4d by Vicent Marti

Make the bitmasks for Index Entry flags public

Signed-off-by: Vicent Marti <tanoku@gmail.com>
parent 91e88941
......@@ -13,6 +13,12 @@
*/
GIT_BEGIN_DECL
#define GIT_IDXENTRY_NAMEMASK (0x0fff)
#define GIT_IDXENTRY_STAGEMASK (0x3000)
#define GIT_IDXENTRY_EXTENDED (0x4000)
#define GIT_IDXENTRY_VALID (0x8000)
#define GIT_IDXENTRY_STAGESHIFT 12
/** Memory representation of an index file. */
typedef struct git_index git_index;
......
......@@ -6,12 +6,6 @@
#include "git/odb.h"
#include "git/index.h"
#define GIT_IDXENTRY_NAMEMASK (0x0fff)
#define GIT_IDXENTRY_STAGEMASK (0x3000)
#define GIT_IDXENTRY_EXTENDED (0x4000)
#define GIT_IDXENTRY_VALID (0x8000)
#define GIT_IDXENTRY_STAGESHIFT 12
struct git_index_tree {
char *name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment