diff options
| author | Junio C Hamano <gitster@pobox.com> | 2019-01-29 12:47:54 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-01-29 12:47:54 -0800 |
| commit | 5d3635db19c6dff4fb063fabfa4161fd3b8285f0 (patch) | |
| tree | 30671c79e96d06267eda7d088a4ef7fd86c3ad47 /sha1-array.h | |
| parent | f33989464ecfc05a937328430b7e74819f7285dd (diff) | |
| parent | be76c2128234d94b47f7087152ee55d08bb65d88 (diff) | |
| download | git-5d3635db19c6dff4fb063fabfa4161fd3b8285f0.tar.xz | |
Merge branch 'sb/submodule-recursive-fetch-gets-the-tip'
"git fetch --recurse-submodules" may not fetch the necessary commit
that is bound to the superproject, which is getting corrected.
* sb/submodule-recursive-fetch-gets-the-tip:
fetch: ensure submodule objects fetched
submodule.c: fetch in submodules git directory instead of in worktree
submodule: migrate get_next_submodule to use repository structs
repository: repo_submodule_init to take a submodule struct
submodule: store OIDs in changed_submodule_names
submodule.c: tighten scope of changed_submodule_names struct
submodule.c: sort changed_submodule_names before searching it
submodule.c: fix indentation
sha1-array: provide oid_array_filter
Diffstat (limited to 'sha1-array.h')
| -rw-r--r-- | sha1-array.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sha1-array.h b/sha1-array.h index 232bf95017..55d016c4bf 100644 --- a/sha1-array.h +++ b/sha1-array.h @@ -22,5 +22,8 @@ int oid_array_for_each(struct oid_array *array, int oid_array_for_each_unique(struct oid_array *array, for_each_oid_fn fn, void *data); +void oid_array_filter(struct oid_array *array, + for_each_oid_fn want, + void *cbdata); #endif /* SHA1_ARRAY_H */ |
