Commit 9f295e2166e13d7989758d7d301ea2af53044d9c

Edward Thomson 2021-04-13T11:47:01

Merge pull request #5838 from mjsir911/msirabella/entrycount_typo_fix Fix diff_entrycount -> diff_num_deltas doc typo

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.
  *