diff options
author | Jeff King <peff@peff.net> | 2023-02-24 01:34:44 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-02-24 09:13:28 -0800 |
commit | fe6258c348ad79a3c11e309995d88cdf08cde984 (patch) | |
tree | 4c98988d745e146ba793a869df102f797c0d44e6 /ls-refs.c | |
parent | 06dd2baa8da4a73421b959ec026a43711b9d77f9 (diff) | |
download | git-fe6258c348ad79a3c11e309995d88cdf08cde984.tar.gz |
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>
Diffstat (limited to 'ls-refs.c')
0 files changed, 0 insertions, 0 deletions