cocci: apply the "commit.h" part of "the_repository.pending"
Apply the part of "the_repository.pending.cocci" pertaining to "commit.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
cb338c23d6
commit
ecb5091fd4
@ -853,7 +853,7 @@ static int checkout_up_to_date(struct rebase_options *options)
|
||||
static int is_linear_history(struct commit *from, struct commit *to)
|
||||
{
|
||||
while (to && to != from) {
|
||||
parse_commit(to);
|
||||
repo_parse_commit(the_repository, to);
|
||||
if (!to->parents)
|
||||
return 1;
|
||||
if (to->parents->next)
|
||||
|
||||
Reference in New Issue
Block a user