diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-08-13 11:13:25 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-08-13 10:01:00 -0700 |
commit | 419dbb29d82b78bcaf0ff22ac7d5db7d1c327575 (patch) | |
tree | 43c8322954e0ad8da0e2e60fd3e692ede6c89b92 /commit.c | |
parent | 61419a42f641c7b9f7bfc9585e3ec9c393ab0166 (diff) |
editor: do not rely on `the_repository` for interactive edits
We implicitly rely on `the_repository` when editing a file interactively
because we call `git_path()`. Adapt the function to instead take a
`struct repository` as a parameter so that we can remove this hidden
dependency.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions