summaryrefslogtreecommitdiff
path: root/Documentation/manpage-base-url.xsl.in
diff options
context:
space:
mode:
authorLibravatar Martin Ågren <martin.agren@gmail.com>2022-01-10 19:41:34 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-01-10 11:30:33 -0800
commit97d6fb5a1f5c854d87fd3fd98722c469a9195a46 (patch)
treed381276c421e974046fb5c3a907a2a7291f7e8ed /Documentation/manpage-base-url.xsl.in
parentGit 2.34.1 (diff)
downloadtgif-97d6fb5a1f5c854d87fd3fd98722c469a9195a46.tar.xz
cache.h: drop duplicate `ensure_full_index()` declaration
There are two identical declarations of `ensure_full_index()` in cache.h. Commit 3964fc2aae ("sparse-index: add guard to ensure full index", 2021-03-30) provided an empty implementation of `ensure_full_index()`, declaring it in a new file sparse-index.h. When commit 4300f8442a ("sparse-index: implement ensure_full_index()", 2021-03-30) fleshed out the implementation, it added an identical declaration to cache.h. Then 118a2e8bde ("cache: move ensure_full_index() to cache.h", 2021-04-01) favored having the declaration in cache.h. Because of the double declaration, at that point we could have just dropped the one in sparse-index.h, but instead it got moved to cache.h. As a result, cache.h contains the exact same function declaration twice. Drop the one under "/* Name hashing */", in favor of the one under "/* Initialize and use the cache information */". Signed-off-by: Martin Ågren <martin.agren@gmail.com> Acked-by: Victoria Dye <vdye@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/manpage-base-url.xsl.in')
0 files changed, 0 insertions, 0 deletions