author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Mon, 8 Jan 2007 00:59:54 +0000 (01:59 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 9 Jan 2007 11:04:04 +0000 (03:04 -0800) | ||
commit | 883d60fa97c6397450fb129634054e0a6101baac | |
tree | 5596e3bc152a71b2fc9ba3161217740bb4d77b6d | tree | snapshot |
parent | 1295228d1fdda17c2ef62e712649c962c3da5eb7 | commit | diff |
Sanitize for_each_reflog_ent()
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().
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.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
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().
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.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-reflog.c | diff | blob | history | |
fsck-objects.c | diff | blob | history | |
reachable.c | diff | blob | history | |
refs.c | diff | blob | history | |
refs.h | diff | blob | history | |
revision.c | diff | blob | history |