add: add a blank line at the end of pathless 'add [-u|-A]' warning
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Mon, 11 Mar 2013 08:01:33 +0000 (09:01 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Apr 2013 18:34:18 +0000 (11:34 -0700)
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>
builtin/add.c
index a4028eea9ee013559c9bbe2fd0b248874af23c8c..c13d5485858879a7889e00b0c99372ecd41f1985 100644 (file)
@@ -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);