diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2017-05-22 16:17:33 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-23 14:29:52 +0900 |
commit | e186057138666058a2c67c3389509c9430d95b24 (patch) | |
tree | eda0756a9f0981dd7e05c0669f89bdf28f47bc1c /reachable.c | |
parent | fd2ce9c01c91a093fbc8f7e444d4d80c0d89432a (diff) | |
download | git-e186057138666058a2c67c3389509c9430d95b24.tar.gz |
ref_iterator_begin_fn(): fix docstring
The iterator returned by this function only includes references whose
names start with the whole prefix, not all of those in
`find_containing_dir(prefix)` as the old docstring claimed. This
docstring was probably copy-pasted from old ref-cache code, which had
the old specification. But now, `cache_ref_iterator_begin()`
(from which the files reference iterator gets its values)
automatically wraps its output using `prefix_ref_iterator_begin()`
when necessary, so it has the stricter behavior.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reachable.c')
0 files changed, 0 insertions, 0 deletions