All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] builtin/add: add a missing newline to an stderr message
@ 2017-08-08 21:36 Ramsay Jones
  2017-08-08 21:45 ` René Scharfe
  2017-08-08 22:34 ` Jonathan Nieder
  0 siblings, 2 replies; 7+ messages in thread
From: Ramsay Jones @ 2017-08-08 21:36 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: GIT Mailing-list, René Scharfe


Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---

Hi Junio,

I noticed this while looking into the t3700 failure on cygwin tonight.
Also, I couldn't decide whether or not to add the i18n '_()' brackets
around the message. In the end I didn't, but will happily add them
if you think I should.

Thanks!

ATB,
Ramsay Jones

 builtin/add.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builtin/add.c b/builtin/add.c
index e888fb8c5..385b53ae7 100644
--- a/builtin/add.c
+++ b/builtin/add.c
@@ -43,7 +43,7 @@ static void chmod_pathspec(struct pathspec *pathspec, int force_mode)
 			continue;
 
 		if (chmod_cache_entry(ce, force_mode) < 0)
-			fprintf(stderr, "cannot chmod '%s'", ce->name);
+			fprintf(stderr, "cannot chmod '%s'\n", ce->name);
 	}
 }
 
-- 
2.14.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-08-09  5:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-08 21:36 [PATCH] builtin/add: add a missing newline to an stderr message Ramsay Jones
2017-08-08 21:45 ` René Scharfe
2017-08-08 22:14   ` Junio C Hamano
2017-08-08 22:34     ` Jonathan Nieder
2017-08-09  5:37       ` Junio C Hamano
2017-08-08 23:55   ` Ramsay Jones
2017-08-08 22:34 ` Jonathan Nieder

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.