On Mar 13, 2007, at 9:05 PM, Johannes Schindelin wrote:
If you say "return error(...);", there is _no_ way that multiple error messages are printed out.
Except that cmd_gc() is littered with run_command* calls, which fork off a subprocess to do the heavy lifting. So if git-repack fails an error will be printed by that process, making the error() call redundant. (If I'm understanding things correctly.)
~~ Brian - 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