Commit 46c24e0
committed
merge-ort: prevent the_repository from coming back
There are two things preventing us from removing our usage of
USE_THE_REPOSITORY_VARIABLE: one necessary use of the_repository in
prefetch_for_content_merges(), and the use of DEFAULT_ABBREV. We have
removed all other uses of the_repository in merge-ort before (multiple
times), 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, with a special carve-out for
prefetch_for_content_merges().
Signed-off-by: Elijah Newren <newren@gmail.com>1 parent 36c2713 commit 46c24e0
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
4433 | 4435 | | |
4434 | 4436 | | |
4435 | 4437 | | |
| 4438 | + | |
| 4439 | + | |
4436 | 4440 | | |
4437 | 4441 | | |
4438 | 4442 | | |
| |||
4481 | 4485 | | |
4482 | 4486 | | |
4483 | 4487 | | |
| 4488 | + | |
| 4489 | + | |
4484 | 4490 | | |
4485 | 4491 | | |
4486 | 4492 | | |
| |||
0 commit comments