Skip to content

Commit 58de0a7

Browse files
committed
Bump Libgit2 to fork of v1.0.0
Fix gyp
1 parent 0327c08 commit 58de0a7

14 files changed

Lines changed: 1117 additions & 1027 deletions

File tree

generate/input/callbacks.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,11 @@
180180
"error": -1
181181
}
182182
},
183-
"git_cred_acquire_cb": {
183+
"git_credential_acquire_cb": {
184184
"args": [
185185
{
186-
"name": "cred",
187-
"cType": "git_cred **",
186+
"name": "credential",
187+
"cType": "git_credential **",
188188
"isReturn": true
189189
},
190190
{

generate/input/descriptor.json

Lines changed: 61 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
}
3434
}
3535
},
36+
"credential": {
37+
"JsName": "TYPE",
38+
"owner": "Credential"
39+
},
3640
"describe_strategy": {
3741
"ignore": true
3842
},
@@ -132,6 +136,11 @@
132136
},
133137
"attr": {
134138
"functions": {
139+
"git_attr_cache_flush": {
140+
"return": {
141+
"isErrorCode": true
142+
}
143+
},
135144
"git_attr_foreach": {
136145
"ignore": true
137146
},
@@ -1066,61 +1075,61 @@
10661075
}
10671076
}
10681077
},
1069-
"cred": {
1078+
"credential": {
10701079
"needsForwardDeclaration": false,
10711080
"selfFreeing": true,
1072-
"cType": "git_cred",
1081+
"cType": "git_credential",
10731082
"fields": {
10741083
"free": {
10751084
"ignore": true
10761085
}
10771086
},
10781087
"functions": {
1079-
"git_cred_default_new": {
1088+
"git_credential_default_new": {
10801089
"isAsync": false
10811090
},
1082-
"git_cred_free": {
1091+
"git_credential_free": {
10831092
"ignore": true
10841093
},
1085-
"git_cred_ssh_custom_new": {
1094+
"git_credential_ssh_custom_new": {
10861095
"ignore": true
10871096
},
1088-
"git_cred_ssh_interactive_new": {
1097+
"git_credential_ssh_interactive_new": {
10891098
"ignore": true
10901099
},
1091-
"git_cred_ssh_key_from_agent": {
1100+
"git_credential_ssh_key_from_agent": {
10921101
"isAsync": false
10931102
},
1094-
"git_cred_ssh_key_new": {
1103+
"git_credential_ssh_key_new": {
10951104
"isAsync": false
10961105
},
1097-
"git_cred_userpass": {
1106+
"git_credential_userpass": {
10981107
"ignore": true
10991108
},
1100-
"git_cred_userpass_plaintext_new": {
1109+
"git_credential_userpass_plaintext_new": {
11011110
"isAsync": false
11021111
}
11031112
}
11041113
},
1105-
"cred_default": {
1114+
"credential_default": {
11061115
"ignore": true
11071116
},
1108-
"cred_ssh_custom": {
1117+
"credential_ssh_custom": {
11091118
"ignore": true
11101119
},
1111-
"cred_ssh_interactive": {
1120+
"credential_ssh_interactive": {
11121121
"ignore": true
11131122
},
1114-
"cred_ssh_key": {
1123+
"credential_ssh_key": {
11151124
"ignore": true
11161125
},
1117-
"cred_username": {
1126+
"credential_username": {
11181127
"ignore": true
11191128
},
1120-
"cred_userpass_payload": {
1129+
"credential_userpass_payload": {
11211130
"ignore": true
11221131
},
1123-
"cred_userpass_plaintext": {
1132+
"credential_userpass_plaintext": {
11241133
"ignore": true
11251134
},
11261135
"describe": {
@@ -1996,7 +2005,10 @@
19962005
"git_index_name_clear": {
19972006
"cppFunctionName": "Clear",
19982007
"jsFunctionName": "clear",
1999-
"isAsync": true
2008+
"isAsync": true,
2009+
"return": {
2010+
"isErrorCode": true
2011+
}
20002012
},
20012013
"git_index_name_entrycount": {
20022014
"cppFunctionName": "Entrycount",
@@ -2031,7 +2043,10 @@
20312043
"cppFunctionName": "Clear",
20322044
"jsFunctionName": "clear",
20332045
"isAsync": true,
2034-
"isPrototypeMethod": false
2046+
"isPrototypeMethod": false,
2047+
"return": {
2048+
"isErrorCode": true
2049+
}
20352050
},
20362051
"git_index_reuc_entrycount": {
20372052
"cppFunctionName": "Entrycount",
@@ -2571,10 +2586,17 @@
25712586
"shouldAlloc": true,
25722587
"functions": {
25732588
"git_oid_cpy": {
2589+
"isAsync": false,
25742590
"args": {
2591+
"src": {
2592+
"shouldAlloc": false
2593+
},
25752594
"out": {
25762595
"isReturn": true
25772596
}
2597+
},
2598+
"return": {
2599+
"isErrorCode": true
25782600
}
25792601
},
25802602
"git_oid_fmt": {
@@ -2707,8 +2729,10 @@
27072729
},
27082730
"git_patch_from_diff": {
27092731
"isAsync": true,
2710-
"return": {
2711-
"ownedBy": ["diff"]
2732+
"args": {
2733+
"out": {
2734+
"ownedBy": ["diff"]
2735+
}
27122736
}
27132737
},
27142738
"git_patch_get_delta": {
@@ -3203,7 +3227,10 @@
32033227
}
32043228
},
32053229
"git_remote_disconnect": {
3206-
"isAsync": true
3230+
"isAsync": true,
3231+
"return": {
3232+
"isErrorCode": true
3233+
}
32073234
},
32083235
"git_remote_download": {
32093236
"args": {
@@ -3408,7 +3435,10 @@
34083435
],
34093436
"functions": {
34103437
"git_repository__cleanup": {
3411-
"isAsync": true
3438+
"isAsync": true,
3439+
"return": {
3440+
"isErrorCode": true
3441+
}
34123442
},
34133443
"git_repository_config": {
34143444
"args": {
@@ -3525,6 +3555,9 @@
35253555
"index": {
35263556
"isOptional": true
35273557
}
3558+
},
3559+
"return": {
3560+
"isErrorCode": true
35283561
}
35293562
},
35303563
"git_repository_set_odb": {
@@ -4321,6 +4354,11 @@
43214354
"treebuilder": {
43224355
"selfFreeing": true,
43234356
"functions": {
4357+
"git_treebuilder_clear": {
4358+
"return": {
4359+
"isErrorCode": true
4360+
}
4361+
},
43244362
"git_treebuilder_filter": {
43254363
"ignore": true
43264364
},

0 commit comments

Comments
 (0)