When the commands give an actual output (e.g. when ran with -v), the
output is visually mixed with the warning. The newline makes the actual
output more visible.

Signed-off-by: Matthieu Moy <matthieu....@imag.fr>
---
 builtin/add.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builtin/add.c b/builtin/add.c
index ab1c9e8..620bf00 100644
--- a/builtin/add.c
+++ b/builtin/add.c
@@ -344,7 +344,7 @@ static void warn_pathless_add(const char *option_name, 
const char *short_name) {
                  "  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_name, short_name,
                option_name, short_name,
                option_name, short_name);
-- 
1.8.2.rc3.16.g0a33571.dirty

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to