# [PATCH 0/5] RFC: for_each_revision() helper

1 messages from 2007-04-26 to 2007-04-26. Participants: Luiz Fernando N Capitulino.
Thread: https://gitlist.dev/t/7856

## Luiz Fernando N Capitulino, 2007-04-26 19:29

Subject: [PATCH 0/5] RFC: for_each_revision() helper
Message-ID: <11776157581497-git-send-email-lcapitulino@mandriva.com.br>
URL: https://gitlist.dev/e/11776157581497-git-send-email-lcapitulino%40mandriva.com.br

```
 Hi,

 [This' also a git-send-email test, so, if this fail by showing just
  the first e-mail in the series, do not blame me :)]

 This series introduces a helper macro to help programs to walk through
revisions (details on the first patch).

 Shawn has already alerted me that some people don't like to
'hide C constructs', but I think that in this case it's useful, as explained
in the next e-mail.

 The complete diff stat is:

 builtin-fmt-merge-msg.c |    3 +--
 builtin-log.c           |   12 ++++--------
 builtin-shortlog.c      |    3 +--
 reachable.c             |    3 +--
 revision.h              |   11 +++++++++++
 5 files changed, 18 insertions(+), 14 deletions(-)

 But if we subtract the for_each_revision() macro's code we get:

 4 files changed, 7 insertions(+), 14 deletions(-)

```
