libgit2

git_idxentry_extended_flag_t

Version:

Bitmasks for on-disk fields of git_index_entry's flags_extended

In memory, the flags_extended fields are divided into two parts: the fields that are read from and written to disk, and other fields that in-memory only and used by libgit2. Only the flags in GIT_IDXENTRY_EXTENDED_FLAGS will get saved on-disk.

Thee first three bitmasks match the three fields in the git_index_entry flags_extended value that belong on disk. You can use them to interpret the data in the flags_extended.

The rest of the bitmasks match the other fields in the git_index_entry flags_extended value that are only used in-memory by libgit2. You can use them to interpret the data in the flags_extended.

Values

GIT_IDXENTRY_INTENT_TO_ADD
8192
GIT_IDXENTRY_SKIP_WORKTREE
16384
GIT_IDXENTRY_EXTENDED2
32768

Reserved for future extension

GIT_IDXENTRY_EXTENDED_FLAGS
24576

Reserved for future extension

GIT_IDXENTRY_UPDATE
1

Reserved for future extension

GIT_IDXENTRY_REMOVE
2

Reserved for future extension

GIT_IDXENTRY_UPTODATE
4

Reserved for future extension

GIT_IDXENTRY_ADDED
8

Reserved for future extension

GIT_IDXENTRY_HASHED
16

Reserved for future extension

GIT_IDXENTRY_UNHASHED
32

Reserved for future extension

GIT_IDXENTRY_WT_REMOVE
64

remove in work directory

GIT_IDXENTRY_CONFLICTED
128
GIT_IDXENTRY_UNPACKED
256
GIT_IDXENTRY_NEW_SKIP_WORKTREE
512

Versions