summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b8322ea)
raw | patch | inline | side by side (parent: b8322ea)
author | Christian Couder <chriscool@tuxfamily.org> | |
Thu, 13 Mar 2008 06:10:40 +0000 (07:10 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 13 Mar 2008 06:23:27 +0000 (23:23 -0700) |
When a document viewer that is unknown to the current version of git is
specified in the .git/config file, instead of erroring out the process
entirely, just issue a warning. It might be that the user usually is
using a newer git that supports it (and the configuration is written for
that version) but is temporarily using an older git that does not know the
viewer.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
specified in the .git/config file, instead of erroring out the process
entirely, just issue a warning. It might be that the user usually is
using a newer git that supports it (and the configuration is written for
that version) but is temporarily using an older git that does not know the
viewer.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
help.c | patch | blob | history |
index 5da8c9c415fa9bbd93470ddb27e748079be4ef79..ecaca770d398e8068ec18e9f4c5058044001d4ea 100644 (file)
--- a/help.c
+++ b/help.c
else if (!strcasecmp(value, "konqueror"))
do_add_man_viewer(exec_man_konqueror);
else
- return error("'%s': unsupported man viewer.", value);
+ warning("'%s': unsupported man viewer.", value);
return 0;
}