diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-10-27 12:33:51 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-05 13:47:45 -0800 |
| commit | b00f91d2f47bdd16265f05d2249a5c205fcef768 (patch) | |
| tree | 951ffa97d75049d7a4b6ee9567cbf75490637871 /commit.h | |
| parent | replay: extract logic to pick commits (diff) | |
| download | git-b00f91d2f47bdd16265f05d2249a5c205fcef768.tar.gz git-b00f91d2f47bdd16265f05d2249a5c205fcef768.zip | |
replay: stop using `the_repository`
In `create_commit()` we're using `the_repository` even though we already
have a repository passed to use as an argument. Fix this.
Note that we still cannot get rid of `USE_THE_REPOSITORY_VARIABLE`. This
is because we use `DEFAULT_ABBREV and `get_commit_output_encoding()`,
both of which are stored as global variables that can be modified via
the Git configuration.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
