summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2013-03-11 09:01:33 +0100
committerJunio C Hamano <gitster@pobox.com>2013-04-03 11:34:18 -0700
commitc9f35b8b5013c1aa5977c678b844757a1f61dd5f (patch)
treea2eecc8c54e6e363cc427fc4b1e6c02aaf327812 /builtin
parente24afab09137d785f07e62aee8936b548436d21f (diff)
downloadgit-c9f35b8b5013c1aa5977c678b844757a1f61dd5f.tar.gz
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>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/add.c4
1 files changed, 3 insertions, 1 deletions
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);