Thread (3 messages) flat view 3 messages, 1 author, 2016-06-15
DORMANTno replies

[PATCH 0/2] minor error message newline purge

From: Pete Wyckoff <hidden>
Date: 2016-06-15 22:53:41

Some error messages show up with an extra blank line, like this
one:

    $ git commit -m foo
    unable to create temporary sha1 filename : Too many open files

    error: Error building trees
    $

Most of the callers of error() and similar functions in usage.c
don't add a newline, but a few do, causing odd output like the
above.

No tests for these; they're hopefully trivial.  One of the edited
messages was marked for translation.  I'm not sure if changing it
requires any work in po/.

Pete Wyckoff (2):
  remove superfluous newlines in error messages
  remove blank filename in error message

 builtin/branch.c                       |    2 +-
 builtin/merge-file.c                   |    4 ++--
 builtin/unpack-objects.c               |    2 +-
 compat/win32mmap.c                     |    2 +-
 contrib/examples/builtin-fetch--tool.c |    4 ++--
 fsck.c                                 |    2 +-
 http-push.c                            |    4 ++--
 http.c                                 |    2 +-
 imap-send.c                            |    2 +-
 ll-merge.c                             |    2 +-
 object.c                               |    6 +++---
 sha1_file.c                            |    6 +++---
 transport-helper.c                     |    4 ++--
 unpack-trees.c                         |    2 +-
 vcs-svn/svndump.c                      |    4 ++--
 15 files changed, 24 insertions(+), 24 deletions(-)

-- 
1.7.10.572.ged86f
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help