| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -268,6 +268,15 @@ | |||
| 268 | 268 | "git_patch_convenient_from_diff" | |
| 269 | 269 | ] | |
| 270 | 270 | ], | |
| 271 | + [ | ||
| 272 | + "reflog_entry", | ||
| 273 | + [ | ||
| 274 | + "git_reflog_entry_committer", | ||
| 275 | + "git_reflog_entry_id_new", | ||
| 276 | + "git_reflog_entry_id_old", | ||
| 277 | + "git_reflog_entry_message" | ||
| 278 | + ] | ||
| 279 | + ], | ||
| 271 | 280 | [ | |
| 272 | 281 | "revwalk", | |
| 273 | 282 | [ | |
@@ -705,6 +714,14 @@ | |||
| 705 | 714 | "git_merge_head_id" | |
| 706 | 715 | ] | |
| 707 | 716 | }, | |
| 717 | + "reflog": { | ||
| 718 | + "functions": [ | ||
| 719 | + "git_reflog_entry_committer", | ||
| 720 | + "git_reflog_entry_id_new", | ||
| 721 | + "git_reflog_entry_id_old", | ||
| 722 | + "git_reflog_entry_message" | ||
| 723 | + ] | ||
| 724 | + }, | ||
| 708 | 725 | "status": { | |
| 709 | 726 | "functions": [ | |
| 710 | 727 | "git_status_list_entrycount", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -367,11 +367,11 @@ describe("Commit", function() { | |||
| 367 | 367 | }).then(function(reflog) { | |
| 368 | 368 | var reflogEntry = reflog.entryByIndex(0); | |
| 369 | 369 | assert.equal( | |
| 370 | - NodeGit.Reflog.entryMessage(reflogEntry), | ||
| 370 | + reflogEntry.message(), | ||
| 371 | 371 | customReflogMessage | |
| 372 | 372 | ); | |
| 373 | 373 | assert.equal( | |
| 374 | - NodeGit.Reflog.entryIdNew(reflogEntry).toString(), | ||
| 374 | + reflogEntry.idNew().toString(), | ||
| 375 | 375 | oid | |
| 376 | 376 | ); | |
| 377 | 377 | // only setTarget should have added to the entrycount | |
| Back | FazBrowse Home | New Git URL |
0 commit comments