cocci: apply the "commit-reach.h" part of "the_repository.pending"
Apply the part of "the_repository.pending.cocci" pertaining to "commit-reach.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:
committed by
Junio C Hamano
parent
d850b7a545
commit
cb338c23d6
@ -965,7 +965,8 @@ static int update_local_ref(struct ref *ref,
|
||||
|
||||
if (fetch_show_forced_updates) {
|
||||
uint64_t t_before = getnanotime();
|
||||
fast_forward = in_merge_bases(current, updated);
|
||||
fast_forward = repo_in_merge_bases(the_repository, current,
|
||||
updated);
|
||||
forced_updates_ms += (getnanotime() - t_before) / 1000000;
|
||||
} else {
|
||||
fast_forward = 1;
|
||||
|
||||
Reference in New Issue
Block a user