From: Matthieu Moy <Matthieu.Moy@imag.fr> Date: Mon, 11 Mar 2013 08:01:33 +0000 (+0100) Subject: add: add a blank line at the end of pathless 'add [-u|-A]' warning X-Git-Tag: v1.8.3-rc0~45^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c9f35b8b5013c1aa5977c678b844757a1f61dd5f;p=git add: add a blank line at the end of pathless 'add [-u|-A]' warning When the commands give an actual output (e.g. when ran with -v), the output is visually mixed with the warning. An additional blank line makes the actual output more visible. Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com> --- diff --git a/builtin/add.c b/builtin/add.c index a4028eea9e..c13d548585 100644 --- a/builtin/add.c +++ b/builtin/add.c @@ -57,7 +57,9 @@ static void warn_pathless_add(void) " git add %s .\n" " (or git add %s .)\n" "\n" - "With the current Git version, the command is restricted to the current directory."), + "With the current Git version, the command is restricted to " + "the current directory.\n" + ""), option_with_implicit_dot, short_option_with_implicit_dot, option_with_implicit_dot, short_option_with_implicit_dot, option_with_implicit_dot, short_option_with_implicit_dot);