aboutsummaryrefslogtreecommitdiffstats
path: root/apply.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2022-12-13 06:12:09 -0500
committerJunio C Hamano <gitster@pobox.com>2022-12-13 22:16:22 +0900
commit00271485d4acefda7ff054a1db5d5a39735e28b9 (patch)
tree4cae038d73aed4ac46a9beab4384347825c676a1 /apply.c
parentc1166ca0e23d60629e0e7babd4eb4be64f578286 (diff)
downloadgit-00271485d4acefda7ff054a1db5d5a39735e28b9.tar.gz
list-objects: drop process_gitlink() function
Our object graph traversal code has a process_gitlink() function which we call when we see a gitlink entry. The function does nothing; it was added in the early days of gitlinks by 6e2f441bd4 (Teach git list-objects logic to not follow gitlinks, 2007-04-13). The comment above the function talks about some things we _could_ do. But in the intervening 15 years, nobody has touched the function, and the submodule code usually makes its own decisions about when and how to examine the links. At the generic traversal layer, we can't assume that the pointed-to commit is available. Let's drop this placeholder that isn't really helping anything. This silences some -Wunused-parameter warnings, and also gets rid of a crufty use of "const unsigned char *" to pass a raw hash value. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'apply.c')
0 files changed, 0 insertions, 0 deletions