"Shawn O. Pearce" <spearce@xxxxxxxxxxx> writes: > Sometimes when you get the content of a file in a script you don't > want an error message for missing files; instead its OK to treat > a missing file the same as one whose content was empty. > > 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? - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html