Ronnie Sahlberg <sahlb...@google.com> writes: > One reason for the former could be if there are problems with multiple > refs in a single transaction. > It would be very annoying to have to do > $ git <some command> > error: ref foo has a problem > > $ <run command to fix the problem> > $ git <some sommand> (try again) > error: ref bar has a problem > ... > > And it might be more userfriendly if that instead would be > $ git <some command> > error: ref foo has a problem > error: ref bar has a problem > ... > > And get all the failures in one go instead of having to iterate. > ... > I personally do not know yet which approach is the best but would like > to keep the door open for the "try all and fail at the end".
Yes, and often it is useful (e.g. we allow to push multiple and then show the result for individual refs). But that still does not show a need for accumulating the error messages to strbuf, does it? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html