Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/rerere-auto-more'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 21 Jul 2008 01:00:17 +0000
(18:00 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 21 Jul 2008 01:00:17 +0000
(18:00 -0700)
* jc/rerere-auto-more:
rerere.autoupdate: change the message when autoupdate is in effect
rerere.c
patch
|
blob
|
history
raw
(from parent 1:
245648d
)
diff --git
a/rerere.c
b/rerere.c
index 12589215e867bff37d5f2848083e8f138331e8ee..0456aa6376caa1387284aa8fe42fc1ff66629822 100644
(file)
--- 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;
}
}