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) | ||
commit | 5fb0b3e007d6465af99d08121d46be82c649df5a | |
tree | 56281d300a052d59181ec34076e8ff94bd8bd6f4 | tree | snapshot |
parent | b8322ea83bc23499a2cef883d051859eb79fef25 | commit | diff |
help: warn if specified 'man.viewer' is unsupported, instead of erroring out
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>
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>
help.c | diff | blob | history |