diff options
author | Heba Waly <heba.waly@gmail.com> | 2019-11-17 21:04:44 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-18 06:21:28 (GMT) |
commit | 405c6b1fbc699a9651e3a555612fd7a31590a509 (patch) | |
tree | 3009bcd2ac109622a234ab661812305e30443820 /sha1-array.c | |
parent | d3d7172e4002a360b8a463363968593cfb261dbe (diff) | |
download | git-405c6b1fbc699a9651e3a555612fd7a31590a509.zip git-405c6b1fbc699a9651e3a555612fd7a31590a509.tar.gz git-405c6b1fbc699a9651e3a555612fd7a31590a509.tar.bz2 |
sha1-array: move doc to sha1-array.h
Move the documentation from Documentation/technical/api-oid-array.txt to
sha1-array.h as it's easier for the developers to find the usage
information beside the code instead of looking for it in another doc file.
Also documentation/technical/api-oid-array.txt is removed because the
information it has is now redundant and it'll be hard to keep it up to
date and synchronized with the documentation in the header file.
Signed-off-by: Heba Waly <heba.waly@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1-array.c')
-rw-r--r-- | sha1-array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sha1-array.c b/sha1-array.c index d922e94..3eeadfe 100644 --- a/sha1-array.c +++ b/sha1-array.c @@ -48,7 +48,7 @@ int oid_array_for_each(struct oid_array *array, { int i; - /* No oid_array_sort() here! See the api-oid-array.txt docs! */ + /* No oid_array_sort() here! See sha1-array.h */ for (i = 0; i < array->nr; i++) { int ret = fn(array->oid + i, data); |