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 /Documentation/technical | |
parent | f33989464ecfc05a937328430b7e74819f7285dd (diff) | |
parent | be76c2128234d94b47f7087152ee55d08bb65d88 (diff) | |
download | git-5d3635db19c6dff4fb063fabfa4161fd3b8285f0.tar.gz |
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 'Documentation/technical')
-rw-r--r-- | Documentation/technical/api-oid-array.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/technical/api-oid-array.txt b/Documentation/technical/api-oid-array.txt index 9febfb1d52..c97428c2c3 100644 --- a/Documentation/technical/api-oid-array.txt +++ b/Documentation/technical/api-oid-array.txt @@ -48,6 +48,11 @@ Functions is not sorted, this function has the side effect of sorting it. +`oid_array_filter`:: + Apply the callback function `want` to each entry in the array, + retaining only the entries for which the function returns true. + Preserve the order of the entries that are retained. + Examples -------- |