From: Junio C Hamano Date: Mon, 08 Jan 2007 01:46:11 GMT Subject: Re: [PATCH 1/2] Sanitize for_each_reflog_ent() Message-ID: <7vr6u6z3x8.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Johannes Schindelin writes: > It used to ignore the return value of the helper function; now, it > expects it to return 0, and stops iteration upon non-zero return > values; this value is then passed on as the return value of > for_each_reflog_ent(). Good idea. > Further, it makes no sense to force the parsing upon the helper > functions; for_each_reflog_ent() now calls the helper function with > old and new sha1, the email, the timestamp & timezone, and the message. Perhaps. I did it that way deliberately because all existing users did not have to pay overhead of parsing. Thanks. Will queue in 'pu' initially as I do not have much time to look at it tonight.