diff options
| author | Ben Straub <bs@github.com> | 2013-09-20 14:31:51 -0700 |
|---|---|---|
| committer | Ben Straub <bs@github.com> | 2013-09-20 14:31:51 -0700 |
| commit | 25c47aaee2c36d78a11dcddf066b82abb53819b9 (patch) | |
| tree | 5c5d1da2d3d32dce004d2d0c5bacf2ba04c06f45 /include | |
| parent | 9d42fcbef349c101d12410d62cda7ee9f23bdf8f (diff) | |
| download | libgit2-25c47aaee2c36d78a11dcddf066b82abb53819b9.tar.gz | |
Detect boundaries, support limiting commit range
Diffstat (limited to 'include')
| -rw-r--r-- | include/git2/blame.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/git2/blame.h b/include/git2/blame.h index fe1311362..652bc8180 100644 --- a/include/git2/blame.h +++ b/include/git2/blame.h @@ -93,6 +93,8 @@ typedef struct git_blame_options { * - `orig_start_line_number` is the 1-based line number where this hunk begins * in the file named by `orig_path` in the commit specified by * `orig_commit_id`. + * - `boundary` is 1 iff the hunk has been tracked to a boundary commit (the + * root, or the commit specified in git_blame_options.oldest_commit) */ typedef struct git_blame_hunk { uint16_t lines_in_hunk; @@ -103,6 +105,8 @@ typedef struct git_blame_hunk { git_oid orig_commit_id; const char *orig_path; uint16_t orig_start_line_number; + + char boundary; } git_blame_hunk; |
