mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-08 03:15:46 +00:00
Make the bitmasks for Index Entry flags public
Signed-off-by: Vicent Marti <tanoku@gmail.com>
This commit is contained in:
parent
91e8894150
commit
8c1f9e4dc3
@ -13,6 +13,12 @@
|
|||||||
*/
|
*/
|
||||||
GIT_BEGIN_DECL
|
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. */
|
/** Memory representation of an index file. */
|
||||||
typedef struct git_index git_index;
|
typedef struct git_index git_index;
|
||||||
|
|
||||||
|
@ -6,12 +6,6 @@
|
|||||||
#include "git/odb.h"
|
#include "git/odb.h"
|
||||||
#include "git/index.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 {
|
struct git_index_tree {
|
||||||
char *name;
|
char *name;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user