diff options
| author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2026-05-01 16:20:00 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-05-02 07:02:45 +0900 |
| commit | 8547908eb30d8b3ee074081f89fa29c6d6d077c2 (patch) | |
| tree | 91f3b906e081a419769974d71b883ba5e267b495 /t/t4013/diff.format-patch_--stdout_initial..main^ | |
| parent | 94f057755b7941b321fd11fec1b2e3ca5313a4e0 (diff) | |
| download | git-8547908eb30d8b3ee074081f89fa29c6d6d077c2.tar.gz git-8547908eb30d8b3ee074081f89fa29c6d6d077c2.zip | |
worktree: rename get_worktree_from_repository()
get_worktree_from_repository() returns a struct worktree that
describes the worktree that the repository argument would operate
on. Since 0f779147602 (worktree: remove "the_repository" from
is_current_worktree(), 2026-03-26) that worktree is always the
"current" worktree. Change the name to get_current_worktee() to
reflect better what the function does.
Suggested-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--stdout_initial..main^')
0 files changed, 0 insertions, 0 deletions
