cocci: apply the "refs.h" part of "the_repository.pending"

Apply the part of "the_repository.pending.cocci" pertaining to
"refs.h".

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Ævar Arnfjörð Bjarmason
2023-03-28 15:58:54 +02:00
committed by Junio C Hamano
parent a5183d7696
commit 12cb1c10a6
17 changed files with 37 additions and 27 deletions

View File

@@ -105,6 +105,10 @@
|
- has_promisor_remote
+ repo_has_promisor_remote
// refs.h
|
- dwim_ref
+ repo_dwim_ref
)
(
+ the_repository,

View File

@@ -5,11 +5,7 @@
@@
@@
(
// refs.h
- dwim_ref
+ repo_dwim_ref
// rerere.h
|
- rerere
+ repo_rerere
// revision.h