diff options
Diffstat (limited to 'src/diff_parse.c')
-rw-r--r-- | src/diff_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff_parse.c b/src/diff_parse.c index 78da3b675..2838314a2 100644 --- a/src/diff_parse.c +++ b/src/diff_parse.c @@ -83,7 +83,7 @@ int git_diff_from_buffer( ctx = git_patch_parse_ctx_init(content, content_len, NULL); GITERR_CHECK_ALLOC(ctx); - while (ctx->remain_len) { + while (ctx->parse_ctx.remain_len) { if ((error = git_patch_parse(&patch, ctx)) < 0) break; |