summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eca2a8f)
raw | patch | inline | side by side (parent: eca2a8f)
author | Miklos Vajna <vmiklos@frugalware.org> | |
Tue, 24 Mar 2009 01:09:11 +0000 (02:09 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 24 Mar 2009 04:02:26 +0000 (21:02 -0700) |
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-checkout.c | patch | blob | history |
diff --git a/builtin-checkout.c b/builtin-checkout.c
index 9fdfc58d1a198164727431352e083585d91f2d30..fc55bbe14d58df66e71a9e1975bb7c4eecdc1a49 100644 (file)
--- a/builtin-checkout.c
+++ b/builtin-checkout.c
if (!old.commit && !opts->force) {
if (!opts->quiet) {
- fprintf(stderr, "warning: You appear to be on a branch yet to be born.\n");
- fprintf(stderr, "warning: Forcing checkout of %s.\n", new->name);
+ warning("You appear to be on a branch yet to be born.");
+ warning("Forcing checkout of %s.", new->name);
}
opts->force = 1;
}