Skip to content

Commit d1f2e16

Browse files
committed
Merge branch 'jc/rerere-auto-more'
* jc/rerere-auto-more: rerere.autoupdate: change the message when autoupdate is in effect
2 parents 245648d + 9196e82 commit d1f2e16

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

rerere.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,10 +278,13 @@ static int do_plain_rerere(struct path_list *rr, int fd)
278278

279279
if (has_resolution(name)) {
280280
if (!merge(name, path)) {
281-
fprintf(stderr, "Resolved '%s' using "
282-
"previous resolution.\n", path);
283281
if (rerere_autoupdate)
284282
path_list_insert(path, &update);
283+
fprintf(stderr,
284+
"%s '%s' using previous resolution.\n",
285+
rerere_autoupdate
286+
? "Staged" : "Resolved",
287+
path);
285288
goto mark_resolved;
286289
}
287290
}

0 commit comments

Comments
 (0)