Browse Source

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>
maint
Matthieu Moy 12 years ago committed by Junio C Hamano
parent
commit
c9f35b8b50
  1. 4
      builtin/add.c

4
builtin/add.c

@ -57,7 +57,9 @@ static void warn_pathless_add(void) @@ -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);

Loading…
Cancel
Save