summaryrefslogtreecommitdiff
path: root/include/git2/diff.h
diff options
context:
space:
mode:
authorMarco Sirabella <marco@sirabella.org>2021-04-12 23:52:03 -0700
committerMarco Sirabella <marco@sirabella.org>2021-04-12 23:54:21 -0700
commit965855970ec4e39502e7591f8bb088bbe3b1be0a (patch)
tree9771dc97799c69a4fd2a03d4113ba03e1c8b01b2 /include/git2/diff.h
parent7f4fa178629d559c037a1f72f79f79af9c1ef8ce (diff)
downloadlibgit2-965855970ec4e39502e7591f8bb088bbe3b1be0a.tar.gz
Fix diff_entrycount -> diff_num_deltas doc typo
This just fixes a typo in the documentation, actual rename change was done in 5f69a31f
Diffstat (limited to 'include/git2/diff.h')
-rw-r--r--include/git2/diff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/diff.h b/include/git2/diff.h
index 3976ab1b9..e10555595 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.
*