ref-filter: drop unused atom parameter from get_worktree_path()
commitfe6258c348ad79a3c11e309995d88cdf08cde984
authorJeff King <peff@peff.net>
Fri, 24 Feb 2023 06:34:44 +0000 (24 01:34 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 24 Feb 2023 17:13:28 +0000 (24 09:13 -0800)
tree4c98988d745e146ba793a869df102f797c0d44e6
parent06dd2baa8da4a73421b959ec026a43711b9d77f9
ref-filter: drop unused atom parameter from get_worktree_path()

The get_worktree_path() function is used to populate the %(worktreepath)
value, but it has never used its "atom" parameter since it was added in
2582083fa1 (ref-filter: add worktreepath atom, 2019-04-28).

Normally we'd use the atom struct to cache any work we do, but in this
case there's a global hashmap that does that caching already. So we can
just drop the unused parameter.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ref-filter.c