summaryrefslogtreecommitdiff
path: root/rerere.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-07-20 18:00:17 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-07-20 18:00:17 -0700
commitd1f2e1696ce168b3a70b59be7c58fa96c530d4fb (patch)
tree7fc97231cfbef133726da4c20586ec4a64962ba6 /rerere.c
parentMerge branch 'ns/am-abort' (diff)
parentrerere.autoupdate: change the message when autoupdate is in effect (diff)
downloadtgif-d1f2e1696ce168b3a70b59be7c58fa96c530d4fb.tar.xz
Merge branch 'jc/rerere-auto-more'
* jc/rerere-auto-more: rerere.autoupdate: change the message when autoupdate is in effect
Diffstat (limited to 'rerere.c')
-rw-r--r--rerere.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/rerere.c b/rerere.c
index 12589215e8..0456aa6376 100644
--- a/rerere.c
+++ b/rerere.c
@@ -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;
}
}