summaryrefslogtreecommitdiff
path: root/include/git2/diff.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-07-10 21:06:53 +0200
committerVicent Marti <tanoku@gmail.com>2013-07-10 21:06:53 +0200
commitc0e529f379ded1311c7d8caba4af7c20c540c987 (patch)
tree2c2594c00603a6032d8bbdecec458387475d8ea5 /include/git2/diff.h
parentbf3ee3cf3130d50cb1813c3ec31993a96dae0607 (diff)
parent406dd556e20117b3cc2e5c53410d65314fd14056 (diff)
downloadlibgit2-c0e529f379ded1311c7d8caba4af7c20c540c987.tar.gz
Merge branch 'arrbee/examples-log' into development
Diffstat (limited to 'include/git2/diff.h')
-rw-r--r--include/git2/diff.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/git2/diff.h b/include/git2/diff.h
index 43029c49c..121c9df5c 100644
--- a/include/git2/diff.h
+++ b/include/git2/diff.h
@@ -798,6 +798,14 @@ GIT_EXTERN(size_t) git_diff_num_deltas_of_type(
git_delta_t type);
/**
+ * Check if deltas are sorted case sensitively or insensitively.
+ *
+ * @param diff Diff list to check
+ * @return 0 if case sensitive, 1 if case is ignored
+ */
+GIT_EXTERN(int) git_diff_is_sorted_icase(const git_diff_list *diff);
+
+/**
* Return the diff delta and patch for an entry in the diff list.
*
* The `git_diff_patch` is a newly created object contains the text diffs