Visitar URL original
Updated input docs to allow for git_push_update_reference_cb to generate by cjhoward92 · Pull Request #1386 · nodegit/nodegit · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
Updated input docs to allow for git_push_update_reference_cb to gen
  • Loading branch information
cjhoward92 authored and Carson Howard committed Oct 13, 2017
commit d385fbfd471ab9a14b4609756f745a932a995b44
22 changes: 22 additions & 0 deletions generate/input/callbacks.json
Original file line number Diff line number Diff line change
Expand Up @@ -908,5 +908,27 @@
"success": 0,
"error": -1
}
},
"git_push_update_reference_cb": {
"args": [
{
"name": "refname",
"cType": "const char *"
},
{
"name": "status",
"cType": "const char *"
},
{
"name": "data",
"cType": "void *"
}
],
"return": {
"type": "int",
"noResults": 1,
"success": 0,
"error": -1
}
}
}
3 changes: 0 additions & 3 deletions generate/input/descriptor.json
Original file line number Diff line number Diff line change
Expand Up @@ -2137,9 +2137,6 @@
"push_transfer_progress": {
"ignore": true
},
"push_update_reference": {
"ignore": true
},
"sideband_progress": {
"ignore": true
},
Expand Down
4 changes: 4 additions & 0 deletions generate/input/libgit2-supplement.json
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,10 @@
"name": "transport",
"ignore": true
},
{
"type": "git_push_update_reference_cb",
"name": "push_update_reference"
},
{
"type": "void *",
"name": "payload"
Expand Down