File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed
Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 12681268 "merge" : {
12691269 "functions" : {
12701270 "git_merge" : {
1271+ "isAsync" : true ,
12711272 "args" : {
1273+ "repo" : {
1274+ "cppClassName" : " GitRepository" ,
1275+ "cType" : " git_repository *" ,
1276+ "jsClassName" : " Repo"
1277+ },
12721278 "their_heads" : {
12731279 "cType" : " const git_annotated_commit **" ,
12741280 "cppClassName" : " Array" ,
12751281 "jsClassName" : " Array" ,
12761282 "arrayElementCppClassName" : " GitAnnotatedCommit"
1283+ },
1284+ "their_heads_len" : {
1285+ "cType" : " size_t" ,
1286+ "cppClassName" : " Number" ,
1287+ "jsClassName" : " Number"
1288+ },
1289+ "merge_opts" : {
1290+ "cType" : " git_merge_options *" ,
1291+ "cppClassName" : " GitMergeOptions"
1292+ },
1293+ "checkout_opts" : {
1294+ "cType" : " git_checkout_options *" ,
1295+ "cppClassName" : " GitCheckoutOptions"
12771296 }
1297+ },
1298+ "return" : {
1299+ "isErrorCode" : true
12781300 }
12791301 },
12801302 "git_merge_analysis" : {
Original file line number Diff line number Diff line change @@ -1539,9 +1539,7 @@ describe("Merge", function() {
15391539 . then ( function ( theirAnnotatedCommit ) {
15401540 return NodeGit . Merge ( repository , theirAnnotatedCommit ) ;
15411541 } )
1542- . then ( function ( result ) {
1543- assert . equal ( result , 0 ) ;
1544-
1542+ . then ( function ( ) {
15451543 assert . equal ( repository . state ( ) ,
15461544 NodeGit . Repository . STATE . MERGE ) ;
15471545 // verify the convenience method
You can’t perform that action at this time.
0 commit comments