mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-10 05:34:34 +00:00
describe: make mingw happy
The MinGW compiler does not like it when we declare a typedef twice.
This commit is contained in:
parent
25345c0cbe
commit
886710b77e
@ -166,7 +166,7 @@ cleanup:
|
|||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef struct git_describe_result {
|
struct git_describe_result {
|
||||||
int dirty;
|
int dirty;
|
||||||
int exact_match;
|
int exact_match;
|
||||||
int fallback_to_id;
|
int fallback_to_id;
|
||||||
@ -174,7 +174,7 @@ typedef struct git_describe_result {
|
|||||||
git_repository *repo;
|
git_repository *repo;
|
||||||
struct commit_name *name;
|
struct commit_name *name;
|
||||||
struct possible_tag *tag;
|
struct possible_tag *tag;
|
||||||
} git_describe_result;
|
};
|
||||||
|
|
||||||
struct get_name_data
|
struct get_name_data
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user