Thread (1 message) 1 message, 1 author, 2016-06-15

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:06

"Shawn O. Pearce" [off-list ref] writes:
Junio C Hamano [off-list ref] wrote:
quoted
"Shawn O. Pearce" [off-list ref] writes:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help