diff options
author | Heba Waly <heba.waly@gmail.com> | 2019-11-18 00:04:51 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-18 09:21:29 +0300 |
commit | 13aa9c8b708dd65f32ac12f8b2faa48f5a89f07d (patch) | |
tree | 8db1c634c0134753da46af9e8a868d64443530df /Documentation/MyFirstObjectWalk.txt | |
parent | c0be43f8986b1653cb4c401e288f38b1b5d595de (diff) |
cache: move doc to cache.h
Move the documentation from Documentation/technical/api-allocation-growing.txt
to cache.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-allocation-growing.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 'Documentation/MyFirstObjectWalk.txt')
-rw-r--r-- | Documentation/MyFirstObjectWalk.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/MyFirstObjectWalk.txt b/Documentation/MyFirstObjectWalk.txt index 321c0ba6a4..aa828dfdc4 100644 --- a/Documentation/MyFirstObjectWalk.txt +++ b/Documentation/MyFirstObjectWalk.txt @@ -119,9 +119,8 @@ parameters provided by the user over the CLI. `nr` represents the number of `rev_cmdline_entry` present in the array. -`alloc` is used by the `ALLOC_GROW` macro. Check -`Documentation/technical/api-allocation-growing.txt` - this variable is used to -track the allocated size of the list. +`alloc` is used by the `ALLOC_GROW` macro. Check `cache.h` - this variable is +used to track the allocated size of the list. Per entry, we find: |