cocci: apply the "rerere.h" part of "the_repository.pending"
Apply the part of "the_repository.pending.cocci" pertaining to "rerere.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
12cb1c10a6
commit
b26a71b1be
@ -601,7 +601,7 @@ static int do_apply_stash(const char *prefix, struct stash_info *info,
|
||||
ret = error(_("could not write index"));
|
||||
|
||||
if (ret) {
|
||||
rerere(0);
|
||||
repo_rerere(the_repository, 0);
|
||||
|
||||
if (index)
|
||||
fprintf_ln(stderr, _("Index was not unstashed."));
|
||||
|
Reference in New Issue
Block a user