summaryrefslogtreecommitdiff
path: root/include/git2/index.h
diff options
context:
space:
mode:
authorPeter Pettersson <boretrk@hotmail.com>2021-10-03 00:12:52 +0200
committerPeter Pettersson <boretrk@hotmail.com>2021-11-15 16:45:40 +0100
commit38c3449822162e7b7669c1cc7ca778afccb59406 (patch)
tree7ce432a4a459b0b0ca025945b4aca9f2b54b9caa /include/git2/index.h
parent5221e1854846ac31dd2ada44fb29dc705104e851 (diff)
downloadlibgit2-38c3449822162e7b7669c1cc7ca778afccb59406.tar.gz
Make enum in includes C90 compliant by removing trailing comma.
Diffstat (limited to 'include/git2/index.h')
-rw-r--r--include/git2/index.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/git2/index.h b/include/git2/index.h
index 532a52091..5864791e6 100644
--- a/include/git2/index.h
+++ b/include/git2/index.h
@@ -86,7 +86,7 @@ typedef struct git_index_entry {
*/
typedef enum {
GIT_INDEX_ENTRY_EXTENDED = (0x4000),
- GIT_INDEX_ENTRY_VALID = (0x8000),
+ GIT_INDEX_ENTRY_VALID = (0x8000)
} git_index_entry_flag_t;
#define GIT_INDEX_ENTRY_STAGE(E) \
@@ -119,7 +119,7 @@ typedef enum {
GIT_INDEX_ENTRY_EXTENDED_FLAGS = (GIT_INDEX_ENTRY_INTENT_TO_ADD | GIT_INDEX_ENTRY_SKIP_WORKTREE),
- GIT_INDEX_ENTRY_UPTODATE = (1 << 2),
+ GIT_INDEX_ENTRY_UPTODATE = (1 << 2)
} git_index_entry_extended_flag_t;
/** Capabilities of system that affect index actions. */
@@ -127,7 +127,7 @@ typedef enum {
GIT_INDEX_CAPABILITY_IGNORE_CASE = 1,
GIT_INDEX_CAPABILITY_NO_FILEMODE = 2,
GIT_INDEX_CAPABILITY_NO_SYMLINKS = 4,
- GIT_INDEX_CAPABILITY_FROM_OWNER = -1,
+ GIT_INDEX_CAPABILITY_FROM_OWNER = -1
} git_index_capability_t;
@@ -140,7 +140,7 @@ typedef enum {
GIT_INDEX_ADD_DEFAULT = 0,
GIT_INDEX_ADD_FORCE = (1u << 0),
GIT_INDEX_ADD_DISABLE_PATHSPEC_MATCH = (1u << 1),
- GIT_INDEX_ADD_CHECK_PATHSPEC = (1u << 2),
+ GIT_INDEX_ADD_CHECK_PATHSPEC = (1u << 2)
} git_index_add_option_t;
/** Git index stage states */
@@ -163,7 +163,7 @@ typedef enum {
GIT_INDEX_STAGE_OURS = 2,
/** The "theirs" side of a conflict. */
- GIT_INDEX_STAGE_THEIRS = 3,
+ GIT_INDEX_STAGE_THEIRS = 3
} git_index_stage_t;
/**