Commit 886710b77e1ddfcff59bb6be1939752f1d56285c

Carlos Martín Nieto 2014-09-30T09:20:08

describe: make mingw happy The MinGW compiler does not like it when we declare a typedef twice.

diff --git a/src/describe.c b/src/describe.c
index afb2e21..08c99a7 100644
--- a/src/describe.c
+++ b/src/describe.c
@@ -166,7 +166,7 @@ cleanup:
 	return error;
 }
 
-typedef struct git_describe_result {
+struct git_describe_result {
 	int dirty;
 	int exact_match;
 	int fallback_to_id;
@@ -174,7 +174,7 @@ typedef struct git_describe_result {
 	git_repository *repo;
 	struct commit_name *name;
 	struct possible_tag *tag;
-} git_describe_result;
+};
 
 struct get_name_data
 {