diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-03-04 10:53:00 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-03-04 10:53:00 -0800 |
| commit | 7b7d67104e315437c46e62986e163c97c5a51dd3 (patch) | |
| tree | 416fbdc26345dfc3c17ce4d4dab6113dd657a381 /builtin/fsck.c | |
| parent | 2d843a2d3d6c2d5e7861e6aa99743d15d36746b9 (diff) | |
| parent | a49cb0f093809e3e66566f161aa930f37346775d (diff) | |
| download | git-7b7d67104e315437c46e62986e163c97c5a51dd3.tar.xz | |
Merge branch 'pw/no-more-NULL-means-current-worktree'
API clean-up for the worktree subsystem.
* pw/no-more-NULL-means-current-worktree:
path: remove repository argument from worktree_git_path()
wt-status: avoid passing NULL worktree
Diffstat (limited to 'builtin/fsck.c')
| -rw-r--r-- | builtin/fsck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/fsck.c b/builtin/fsck.c index 384d47ee77..51de6a6395 100644 --- a/builtin/fsck.c +++ b/builtin/fsck.c @@ -1105,7 +1105,7 @@ int cmd_fsck(int argc, * and may get overwritten by other calls * while we're examining the index. */ - path = xstrdup(worktree_git_path(the_repository, wt, "index")); + path = xstrdup(worktree_git_path(wt, "index")); wt_gitdir = get_worktree_git_dir(wt); read_index_from(&istate, path, wt_gitdir); |
