sequencer: drop repository argument from run_git_commit()
authorJeff King <redacted>
Wed, 30 Sep 2020 12:29:31 +0000 (08:29 -0400)
committerJunio C Hamano <redacted>
Wed, 30 Sep 2020 19:53:47 +0000 (12:53 -0700)
commit20f4b044a681fffd469cc9ddcf055580a20fd612
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
sequencer.c
git clone https://git.99rst.org/PROJECT