On Mon, May 05, 2008 at 09:28:18AM +1000, Paul Mackerras wrote: > At the moment I don't think there is a good way in Tcl to get hold of > the stderr output if a subcommand returns a non-zero exit status, but > ignore it if the exit status is 0, other than by redirecting stderr to > a temporary file, which has its own problems. Tcl can bundle stderr > in with stdout, or ignore it, or take it as an error indication, or > send it to a file. > > So if git commands can avoid writing non-error messages to stderr, > that will make my life easier... In that case, Junio, perhaps we should restrict this particular warning just to merge. However, there a number of other warnings that can get printed on stderr, many of them related to reflogs. So I suspect with some reflog conditions (like a reflog that only goes back 1 day) you could end up with a tcl error for "gitk HEAD@{2.days.ago}". -Peff -- 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