Commit f8ea49f
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 c0c7600 commit f8ea49f
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
56 | 65 | | |
57 | 66 | | |
58 | 67 | | |
| |||
4433 | 4442 | | |
4434 | 4443 | | |
4435 | 4444 | | |
| 4445 | + | |
| 4446 | + | |
| 4447 | + | |
| 4448 | + | |
| 4449 | + | |
| 4450 | + | |
4436 | 4451 | | |
4437 | 4452 | | |
4438 | 4453 | | |
| |||
4481 | 4496 | | |
4482 | 4497 | | |
4483 | 4498 | | |
| 4499 | + | |
| 4500 | + | |
| 4501 | + | |
4484 | 4502 | | |
4485 | 4503 | | |
4486 | 4504 | | |
| |||
0 commit comments