| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -211,6 +211,9 @@ Handle<Value> GitDiffList::Patch(const Arguments& args) { | |||
| 211 | 211 | toReturn->Set(String::NewSymbol("patch"), to); | |
| 212 | 212 | ||
| 213 | 213 | if (delta_out != NULL) { | |
| 214 | + delta_out = (const git_diff_delta * )git_diff_delta_dup(delta_out); | ||
| 215 | + } | ||
| 216 | + if (delta_out != NULL) { | ||
| 214 | 217 | to = GitDelta::New((void *)delta_out); | |
| 215 | 218 | } else { | |
| 216 | 219 | to = Null(); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3689,6 +3689,7 @@ | |||
| 3689 | 3689 | "name": "delta_out", | |
| 3690 | 3690 | "jsName": "delta", | |
| 3691 | 3691 | "cType": "const git_diff_delta **", | |
| 3692 | + "copy": "git_diff_delta_dup", | ||
| 3692 | 3693 | "cppClassName": "GitDelta", | |
| 3693 | 3694 | "jsClassName": "Delta", | |
| 3694 | 3695 | "isReturn": true, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments