From: Junio C Hamano Date: Sun, 22 Apr 2007 09:20:47 GMT Subject: Re: [PATCH 3/3] Teach cat-file a --quiet option Message-ID: <7v8xckpxxs.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20070422081556.GJ17480@spearce.org> "Shawn O. Pearce" writes: > Junio C Hamano wrote: >> "Shawn O. Pearce" 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.