David Aguilar <davvid@xxxxxxxxx> writes: > Good point. The --quiet spec doesn't say anything about stdout, Please correct it while at it in the doc ;-) I think I had to look it up in the documentation and then in code if git rev-parse --verify --quiet "$object" the right way to check if the object is a good name without output when it is, and get diagnosis in an appropriate error message when it isn't. -- 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