sequencer: drop repository argument from run_git_commit()
commit20f4b044a681fffd469cc9ddcf055580a20fd612
authorJeff King <peff@peff.net>
Wed, 30 Sep 2020 12:29:31 +0000 (30 08:29 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Sep 2020 19:53:47 +0000 (30 12:53 -0700)
tree2d2261a975a85dd56b2514729650ad6791951884
parent5b9427e0ac4d4b6c96f23fc5eb9b047a27563c65
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>
sequencer.c