Skip to content

Commit 59437a8

Browse files
committed
Fix some issues from the libgit2 bump
1 parent 24a9fc4 commit 59437a8

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

generate/input/descriptor.json

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -396,16 +396,6 @@
396396
"jsClassName": "Buffer",
397397
"cType": "git_buf *",
398398
"shouldAlloc": true
399-
},
400-
"repo": {
401-
"cppClassName": "GitRepository",
402-
"jsClassName": "Repo",
403-
"cType": "git_repository *"
404-
},
405-
"canonical_branch_name": {
406-
"cppClassName": "String",
407-
"jsClassName": "String",
408-
"cType": "const char *"
409399
}
410400
},
411401
"return": {
@@ -415,7 +405,7 @@
415405
"git_branch_set_upstream": {
416406
"isAsync": true,
417407
"args": {
418-
"upstream_name": {
408+
"branch_name": {
419409
"isOptional": true
420410
}
421411
},

generate/input/libgit2-supplement.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@
11181118
},
11191119
{
11201120
"name": "flags",
1121-
"type": "git_blob_filter_flag_t"
1121+
"type": "uint32_t"
11221122
}
11231123
]
11241124
}
@@ -1643,7 +1643,7 @@
16431643
"name": "version"
16441644
},
16451645
{
1646-
"type": "git_stash_apply_flags",
1646+
"type": "uint32_t",
16471647
"name": "flags"
16481648
},
16491649
{

0 commit comments

Comments
 (0)