git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH] Missing linefeeds
@ 2005-04-21 12:44 Matthias Urlichs
  2005-04-21 16:26 ` Petr Baudis
  0 siblings, 1 reply; 3+ messages in thread
From: Matthias Urlichs @ 2005-04-21 12:44 UTC (permalink / raw
  To: git

This patch fixes die() and error() to print linefeeds after the message.

Signed-Off-By: Matthias Urlichs <smurf@smurf.noris.de>

--- 42a073eb6b5bb397a3e8768a032463a7fa02e6b9/usage.c  (mode:100644 sha1:e774d2ef32726af0707d817cdb63fc8751ddc9d8)
+++ 265515f9c4f089b1b61e9d2312c4b3babe189618/usage.c  (mode:100644 sha1:21715d88b1a82aa06a3914e3f0e69fb1b61cc442)
@@ -26,6 +26,7 @@
 	va_start(params, err);
 	report("fatal: ", err, params);
 	va_end(params);
+	fputs("\n", stderr);
 	exit(1);
 }
 
@@ -36,5 +37,6 @@
 	va_start(params, err);
 	report("error: ", err, params);
 	va_end(params);
+	fputs("\n", stderr);
 	return -1;
 }

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

* Re: [PATCH] Missing linefeeds
  2005-04-21 12:44 [PATCH] Missing linefeeds Matthias Urlichs
@ 2005-04-21 16:26 ` Petr Baudis
  2005-04-21 23:08   ` Matthias Urlichs
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Baudis @ 2005-04-21 16:26 UTC (permalink / raw
  To: Matthias Urlichs; +Cc: git

Dear diary, on Thu, Apr 21, 2005 at 02:44:30PM CEST, I got a letter
where Matthias Urlichs <smurf@smurf.noris.de> told me that...
> This patch fixes die() and error() to print linefeeds after the message.

Why? report() already prints linefeed.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor

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

* Re: [PATCH] Missing linefeeds
  2005-04-21 16:26 ` Petr Baudis
@ 2005-04-21 23:08   ` Matthias Urlichs
  0 siblings, 0 replies; 3+ messages in thread
From: Matthias Urlichs @ 2005-04-21 23:08 UTC (permalink / raw
  To: Petr Baudis; +Cc: git

Hi,

Petr Baudis:
> Why? report() already prints linefeed.
> 
Ah, it didn't when I wrote this.

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf@smurf.noris.de

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

end of thread, other threads:[~2005-04-21 23:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-21 12:44 [PATCH] Missing linefeeds Matthias Urlichs
2005-04-21 16:26 ` Petr Baudis
2005-04-21 23:08   ` Matthias Urlichs

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).