diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-04-03 11:12:06 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-04-13 04:41:29 +0200 |
commit | f35f5603f4f07c939754743b2a6cf61bb3a4694e (patch) | |
tree | 6b7390153bdfe003803e89410d3a4c9d6cbc059e /revision.h | |
parent | Merge branch 'maint' (diff) | |
download | git-f35f5603f4f07c939754743b2a6cf61bb3a4694e.tar.xz git-f35f5603f4f07c939754743b2a6cf61bb3a4694e.zip |
revision traversal: --children option
This adds a new --children option to the revision machinery. In addition
to the list of parents, child commits of each commit are computed and
stored as a decoration to each commit.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.h')
-rw-r--r-- | revision.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.h b/revision.h index c8b3b948ec..966116cd5b 100644 --- a/revision.h +++ b/revision.h @@ -98,6 +98,7 @@ struct rev_info { struct diff_options pruning; struct reflog_walk_info *reflog_info; + struct decoration children; }; #define REV_TREE_SAME 0 |