summaryrefslogtreecommitdiff
path: root/Documentation/MyFirstObjectWalk.txt
diff options
context:
space:
mode:
authorHeba Waly <heba.waly@gmail.com>2019-11-17 21:04:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-11-18 06:21:29 (GMT)
commit13aa9c8b708dd65f32ac12f8b2faa48f5a89f07d (patch)
tree8db1c634c0134753da46af9e8a868d64443530df /Documentation/MyFirstObjectWalk.txt
parentc0be43f8986b1653cb4c401e288f38b1b5d595de (diff)
downloadgit-13aa9c8b708dd65f32ac12f8b2faa48f5a89f07d.zip
git-13aa9c8b708dd65f32ac12f8b2faa48f5a89f07d.tar.gz
git-13aa9c8b708dd65f32ac12f8b2faa48f5a89f07d.tar.bz2
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.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/MyFirstObjectWalk.txt b/Documentation/MyFirstObjectWalk.txt
index 321c0ba..aa828df 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: