Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Upgrade libgit2 and generation
  • Loading branch information
zawata committed Mar 24, 2022
commit a2897b9efe7be84a6663ae62606c487aa80cae94
15 changes: 15 additions & 0 deletions .clangd
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
If:
PathMatch: [src/.*, include/.*]

CompileFlags:
Add: [
-I../node_modules/nan,
-I../vendor/libssh2/include,
-I../vendor/libgit2/include,
-I/home/johna/.cache/node-gyp/14.19.0/include/node,
-I/home/johna/.cache/node-gyp/14.19.0/src,
-I/home/johna/.cache/node-gyp/14.19.0/deps/openssl/config,
-I/home/johna/.cache/node-gyp/14.19.0/deps/openssl/openssl/include,
-I/home/johna/.cache/node-gyp/14.19.0/deps/uv/include,
-I/home/johna/.cache/node-gyp/14.19.0/deps/zlib,
-I/home/johna/.cache/node-gyp/14.19.0/deps/v8/include]
33 changes: 27 additions & 6 deletions generate/input/callbacks.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,20 +135,41 @@
"throttle": 100
}
},
"git_commit_signing_cb": {
"git_commit_create_cb": {
"args": [
{
"name": "signature",
"cType": "git_buf *"
"name": "out",
"cType": "git_oid *",
"isReturn": true
},
{
"name": "signature_field",
"cType": "git_buf *"
"name": "author",
"cType": "const git_signature *"
},
{
"name": "commit_content",
"name": "committer",
"cType": "const git_signature *"
},
{
"name": "message_encoding",
"cType": "const char *"
},
{
"name": "message",
"cType": "const char *"
},
{
"name": "tree",
"cType": "const git_tree *"
},
{
"name": "parent_count",
"cType": "size_t"
},
{
"name": "parents",
"cType": "const git_oid * []"
},
{
"name": "payload",
"cType": "void *"
Expand Down
65 changes: 65 additions & 0 deletions generate/input/descriptor.json
Original file line number Diff line number Diff line change
Expand Up @@ -1667,6 +1667,20 @@
"return": {
"isResultOrError": true
}
},
"git_graph_reachable_from_any": {
Comment thread
ianhattendorf marked this conversation as resolved.
"args": {
"descendant_array": {
"cType": "git_oid *",
"cppClassName": "Array",
"jsClassName": "Array",
"arrayElementCppClassName": "GitOid"
}
},
"isAsync": true,
"return": {
"isErrorCode": true
}
}
}
},
Expand Down Expand Up @@ -3091,6 +3105,57 @@
}
}
},
"rebase_options": {
"fields": {
"signing_cb": {
"ignore": true
},
"commit_create_cb": {
"args": [
{
"name": "out",
"cType": "git_oid *"
},
{
"name": "author",
"cType": "const git_signature *"
},
{
"name": "committer",
"cType": "const git_signature *"
},
{
"name": "message_encoding",
"cType": "const char *"
},
{
"name": "message",
"cType": "const char *"
},
{
"name": "tree",
"cType": "const git_tree *"
},
{
"name": "parent_count",
"cType": "size_t"
},
{
"name": "parents",
"cType": "const git_oid **",
"cppClassName": "Array",
"jsClassName": "Array",
"arrayElementCppClassName": "GitOid",
"arrayLengthArgumentName": "parent_count"
},
{
"name": "payload",
"cType": "void *"
}
]
}
}
},
"refdb": {
"selfFreeing": true,
"functions": {
Expand Down
Loading