summaryrefslogtreecommitdiff
path: root/include/git2/diff.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/diff.h')
-rw-r--r--include/git2/diff.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/git2/diff.h b/include/git2/diff.h
index a16f86a46..61d288380 100644
--- a/include/git2/diff.h
+++ b/include/git2/diff.h
@@ -446,6 +446,7 @@ struct git_diff_line {
int new_lineno; /** Line number in new file or -1 for deleted line */
int num_lines; /** Number of newline characters in content */
size_t content_len; /** Number of bytes of data */
+ git_off_t content_offset; /** Offset in the original file to the content */
const char *content; /** Pointer to diff text, not NUL-byte terminated */
};