revision-walk: --parent option to find children of a parentmrb/walk-parent
commit79685cb727b3e24359bb8ba45d483ffd44bc356c
authorMichael J Gruber <git@drmicha.warpmail.net>
Thu, 30 Sep 2010 10:18:16 +0000 (30 12:18 +0200)
committerMichael J Gruber <git@drmicha.warpmail.net>
Thu, 14 Mar 2013 10:04:27 +0000 (14 11:04 +0100)
tree06813f1b797cb3f8a35a5aaf1002c5a9dfe5be05
parent36b63d62840a512828134a9665bea5dcf8279464
revision-walk: --parent option to find children of a parent

Introduce a new --parent=<commit> option for the revision walker which
limits the commits to those which have <commit> as one of their parents.

This allows to check, e.g., whether <commit> is a fork point, or to list
all direct forkees easily (without grepping --parents output).
revision.c
revision.h