diff options
author | Jeff King <peff@peff.net> | 2020-09-30 08:29:31 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-09-30 12:53:47 -0700 |
commit | 20f4b044a681fffd469cc9ddcf055580a20fd612 (patch) | |
tree | 2d2261a975a85dd56b2514729650ad6791951884 /builtin/commit.c | |
parent | 5b9427e0ac4d4b6c96f23fc5eb9b047a27563c65 (diff) |
sequencer: drop repository argument from run_git_commit()
When we switched to using an external git-commit call in b0a3186140
(sequencer: simplify root commit creation, 2019-08-19), this function
didn't need to care about the repository object any more.
Arguably we could be passing along the repository path to the external
git-commit by using "--git-dir=r->path" here. But for the most part the
sequencer code relies on sub-process finding the same repository we're
already in (using the same environment variables or discovery process we
did). But we don't have a convenient interface for doing so, and there's
no indication that we need to. Let's just drop the unused parameter for
now.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions