Commit 2da619abdebe78ce90be5e7d58e2257ec1777003

Ben Straub 2012-12-03T12:41:38

Remove GIT_CRED_VERSION and friends

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/include/git2/transport.h b/include/git2/transport.h
index 84d71c6..60ac3f2 100644
--- a/include/git2/transport.h
+++ b/include/git2/transport.h
@@ -31,15 +31,11 @@ typedef enum {
 
 /* The base structure for all credential types */
 typedef struct git_cred {
-	unsigned int version;       /* This should update if subtypes are extended */
 	git_credtype_t credtype;
 	void (*free)(
 		struct git_cred *cred);
 } git_cred;
 
-#define GIT_CRED_VERSION 1
-#define GIT_CRED_INIT {GIT_CRED_VERSION, 0}
-
 /* A plaintext username and password */
 typedef struct git_cred_userpass_plaintext {
 	git_cred parent;