Skip to content

Commit

Permalink
Merge branch 'jc/rerere-auto-more'
Browse files Browse the repository at this point in the history
* jc/rerere-auto-more:
  rerere.autoupdate: change the message when autoupdate is in effect
  • Loading branch information
Junio C Hamano committed Jul 21, 2008
2 parents 245648d + 9196e82 commit d1f2e16
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions rerere.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,10 +278,13 @@ static int do_plain_rerere(struct path_list *rr, int fd)

if (has_resolution(name)) {
if (!merge(name, path)) {
fprintf(stderr, "Resolved '%s' using "
"previous resolution.\n", path);
if (rerere_autoupdate)
path_list_insert(path, &update);
fprintf(stderr,
"%s '%s' using previous resolution.\n",
rerere_autoupdate
? "Staged" : "Resolved",
path);
goto mark_resolved;
}
}
Expand Down

0 comments on commit d1f2e16

Please sign in to comment.