Michele Ballabio <barra_cuda@xxxxxxxxxxxx> writes: > A simple "git shortlog" outside of a git repository used to stall > waiting for an input. Fix this by testing with isatty() before > calling read_from_stdin(). I'd actually prefer doing what "git commit" does. Give a helpful hint that it is waiting for input from the standard input, but do read from standard input as the program is instructed to do. That way people who drive the program with expect will not be broken ;-) but that is a minor point. -- 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