summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2014-02-26 16:58:20 -0500
committerBen Straub <bs@github.com>2014-02-26 16:58:20 -0500
commit1574d3884f020c072f68c08785e199732e438e34 (patch)
treedb2eed39930ac2353fe090b28d6260ee9e848a19 /include/git2
parent6b34a4ed13e0a386abc0cd69dcba473958a21e74 (diff)
parent0276f0f55bf24dc5e0f49612106c1091381033f9 (diff)
downloadlibgit2-1574d3884f020c072f68c08785e199732e438e34.tar.gz
Merge pull request #2137 from jru/blame-first-parent
Blame first-parent history
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/blame.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/git2/blame.h b/include/git2/blame.h
index b98c6f0d7..4ad51ee50 100644
--- a/include/git2/blame.h
+++ b/include/git2/blame.h
@@ -40,6 +40,9 @@ typedef enum {
* commit (like `git blame -CCC`). Implies SAME_COMMIT_COPIES.
* NOT IMPLEMENTED. */
GIT_BLAME_TRACK_COPIES_ANY_COMMIT_COPIES = (1<<3),
+ /** Restrict the search of commits to those reachable following only the
+ * first parents. */
+ GIT_BLAME_FIRST_PARENT = (1<<4),
} git_blame_flag_t;
/**