8000 repository: rearrange `git_repository_item_t` values · libgit2/libgit2@126e98e · GitHub
[go: up one dir, main page]

Skip to content

Commit 126e98e

Browse files
committed
repository: rearrange git_repository_item_t values
Update the ordering of `GIT_REPOSITORY_ITEM_WORKTREE_CONFIG` to avoid breaking the ABI unnecessarily.
1 parent 2eb3fec commit 126e98e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/git2/repository.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,12 +499,12 @@ typedef enum {
499499
GIT_REPOSITORY_ITEM_PACKED_REFS,
500500
GIT_REPOSITORY_ITEM_REMOTES,
501501
GIT_REPOSITORY_ITEM_CONFIG,
502-
GIT_REPOSITORY_ITEM_WORKTREE_CONFIG,
503502
GIT_REPOSITORY_ITEM_INFO,
504503
GIT_REPOSITORY_ITEM_HOOKS,
505504
GIT_REPOSITORY_ITEM_LOGS,
506505
GIT_REPOSITORY_ITEM_MODULES,
507506
GIT_REPOSITORY_ITEM_WORKTREES,
507+
GIT_REPOSITORY_ITEM_WORKTREE_CONFIG,
508508
GIT_REPOSITORY_ITEM__LAST
509509
} git_repository_item_t;
510510

0 commit comments

Comments
 (0)
0