Merge pull request #344 from margro/development Header fix for C++ and double include in git2.h
diff --git a/include/git2.h b/include/git2.h
index 243824e..35e48b2 100644
--- a/include/git2.h
+++ b/include/git2.h
@@ -56,7 +56,6 @@
#include "git2/config.h"
#include "git2/remote.h"
-#include "git2/remote.h"
#include "git2/refspec.h"
#include "git2/net.h"
#include "git2/transport.h"
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 723ff8f..93bc834 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -46,15 +46,6 @@ GIT_BEGIN_DECL
*/
/**
- * @file git2/remote.h
- * @brief Git remote management
- * @defgroup git_remote Git remote management routines
- * @ingroup Git
- * @{
- */
-GIT_BEGIN_DECL
-
-/**
* Get the information for a particular remote
*
* @param out pointer to the new remote object