Commit 965855970ec4e39502e7591f8bb088bbe3b1be0a

Marco Sirabella 2021-04-12T23:52:03

Fix diff_entrycount -> diff_num_deltas doc typo This just fixes a typo in the documentation, actual rename change was done in 5f69a31f

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/diff.h b/include/git2/diff.h
index 3976ab1..e105555 100644
--- a/include/git2/diff.h
+++ b/include/git2/diff.h
@@ -998,7 +998,7 @@ GIT_EXTERN(size_t) git_diff_num_deltas(const git_diff *diff);
 /**
  * Query how many diff deltas are there in a diff filtered by type.
  *
- * This works just like `git_diff_entrycount()` with an extra parameter
+ * This works just like `git_diff_num_deltas()` with an extra parameter
  * that is a `git_delta_t` and returns just the count of how many deltas
  * match that particular type.
  *