]> Kevux Git Server - rit/commit
replay: prevent the_repository from coming back
authorElijah Newren <newren@gmail.com>
Fri, 20 Feb 2026 01:59:48 +0000 (01:59 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 22 Feb 2026 02:37:25 +0000 (18:37 -0800)
commit3249d07962f081bd84bace9ca7f808575e2cae56
tree73b0cf5cafa507c527a728f78cee6c1e91017100
parent59257224a34824b948bf3941d66168deeec1dca8
replay: prevent the_repository from coming back

Due to the use of DEFAULT_ABBREV, we cannot get rid of our usage of
USE_THE_REPOSITORY_VARIABLE.  We have removed all other uses of
the_repository before, but without removing that definition, they keep
coming back.

Define the_repository to make it a compilation error so that they don't
come back any more; the repo parameter plumbed through the various
functions can be used instead.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
replay.c