projects
/
platform
/
upstream
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 2.27.0
[platform/upstream/git.git]
/
oidset.c
diff --git
a/oidset.c
b/oidset.c
index
f63ce81
..
15d4e18
100644
(file)
--- a/
oidset.c
+++ b/
oidset.c
@@
-36,6
+36,11
@@
void oidset_clear(struct oidset *set)
oidset_init(set, 0);
}
+int oidset_size(struct oidset *set)
+{
+ return kh_size(&set->set);
+}
+
void oidset_parse_file(struct oidset *set, const char *path)
{
FILE *fp;