[PATCH 2/2] add: add a newline at the end of pathless 'add [-u|-A]' warning
- From
Matthieu Moy <matthieu.moy@imag.fr>
- Date
- Mar 11, 2013, 08:01 UTC
- Message-ID
- <1362988893-27539-2-git-send-email-Matthieu.Moy@imag.fr>
- In-Reply-To
- <1362988893-27539-1-git-send-email-Matthieu.Moy@imag.fr>
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.Moy@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