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

Re: [PATCH 3/3] Teach cat-file a --quiet option

From
Junio C Hamano <junkio@cox.net>
Date
Apr 22, 2007, 09:20 UTC
Message-ID
<7v8xckpxxs.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20070422081556.GJ17480@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
Show 11 quoted lines
> Junio C Hamano <junkio@cox.net> wrote:
>> "Shawn O. Pearce" <spearce@spearce.org> writes:
>> > This is especially true if the script is using something like
>> > `cat-file blob HEAD:path/to/file` to look at an optional file's
>> > content.
>> 
>> I am not sure if I agree with this logic.  How is this different
>> from discarding stderr to /dev/null?
>
> Also, a redirect of stderr to /dev/null kills other error messages
> that might be interesting to see on stderr of the caller,...

I think that quite depends on what your definition of "other" is; see my other message on this subject.

Previous: Shawn O. Pearce
Message 6 of 6 in “Teach cat-file a --quiet option”
  1. 3/3 Teach cat-file a --quiet optionShawn O. Pearce, Apr 22, 2007
  2. Junio C HamanoApr 22, 2007
  3. Shawn O. PearceApr 22, 2007
  4. Junio C HamanoApr 22, 2007
  5. Shawn O. PearceApr 22, 2007
  6. Junio C HamanoApr 22, 2007

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.