git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] fetch-pack: make the ssh connection quiet

From
Jan Stępień <jan@stepien.cc>
Date
Oct 27, 2010, 18:40 UTC
Message-ID
<20101027204023.729808c8.jan@stepien.cc>
In-Reply-To
<1288193069.15518.40.camel@drew-northup.unet.maine.edu>

On Wed, 27 Oct 2010 11:24:29 -0400 Drew Northup <drew.northup@maine.edu> wrote:

Show 14 quoted lines
> On Wed, 2010-10-27 at 16:27 +0200, Jan Stępień wrote:
> > The --quiet option passed to fetch-pack did not affect the ssh child
> > process. When an ssh server sent a motd it was displayed because the ssh
> > client wasn't launched with the -q option. This patch makes ssh run quietly
> > when fetch-pack is called with -q.
> > 
> > An analogous change should be made to other commands which accept --quiet
> > and connect to remotes using ssh.
> 
> I'm not so sure that's a good idea. Quoting from the (Open)SSH man page:
> 
> -q      Quiet mode.  Causes all warning and diagnostic messages to be suppressed.
> 
> Somehow I doubt that's what you intended or a good idea.

That's right, but according to the same source all fatal error messages still get displayed. It's a question of how quiet should fetch-pack be when --quiet is enabled.

Thanks for the comment,
-- 
Jan Stępień <jan@stepien.cc>
Previous: Drew NorthupNext: Junio C Hamano
Message 3 of 5 in “fetch-pack: make the ssh connection quiet”
  1. fetch-pack: make the ssh connection quietJan Stępień, Oct 27, 2010
  2. Drew NorthupOct 27, 2010
  3. Jan StępieńOct 27, 2010
  4. Junio C HamanoOct 27, 2010
  5. Jan StępieńOct 28, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.