Commit 94beb3a3 by Edward Thomson

merge: update enum type name for consistency

libgit2 does not use `type_t` suffixes as it's redundant; thus, rename
`git_merge_diff_type_t` to `git_merge_diff_t` for consistency.
parent a76348ee
......@@ -84,7 +84,7 @@ typedef enum {
/* The child of a folder that is in a directory/file conflict. */
GIT_MERGE_DIFF_DF_CHILD = (1 << 11),
} git_merge_diff_type_t;
} git_merge_diff_t;
typedef struct {
git_repository *repo;
......@@ -113,7 +113,7 @@ typedef struct {
* Description of changes to one file across three trees.
*/
typedef struct {
git_merge_diff_type_t type;
git_merge_diff_t type;
git_index_entry ancestor_entry;
......
......@@ -36,7 +36,7 @@ struct merge_index_conflict_data {
struct merge_index_with_status ancestor;
struct merge_index_with_status ours;
struct merge_index_with_status theirs;
git_merge_diff_type_t change_type;
git_merge_diff_t change_type;
};
int merge_trees_from_branches(
......
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