summaryrefslogtreecommitdiff
path: root/gitweb/gitweb.perl
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-01-08 11:05:43 +0100
committerJunio C Hamano <gitster@pobox.com>2024-01-08 13:17:30 -0800
commitb8a846b2e03610e6f550d364c75e514532ef7adf (patch)
treeefa9a3a57dd26a54323bd036a16ac2c103d4e129 /gitweb/gitweb.perl
parent84f0ea956fbd3a3c9989a2d44da27881c0a5f546 (diff)
worktree: expose interface to look up worktree by name
Our worktree interfaces do not provide a way to look up a worktree by its name. Expose `get_linked_worktree()` to allow for this usecase. As callers are responsible for freeing this worktree, introduce a new function `free_worktree()` that does so. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/gitweb.perl')
0 files changed, 0 insertions, 0 deletions