summaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-04-03 02:12:06 -0700
committerJunio C Hamano <gitster@pobox.com>2008-04-12 19:41:29 -0700
commitf35f5603f4f07c939754743b2a6cf61bb3a4694e (patch)
tree6b7390153bdfe003803e89410d3a4c9d6cbc059e /revision.h
parentf43e2fd43b50d5a82a34bb3e4f848cb38bf93b7f (diff)
downloadgit-f35f5603f4f07c939754743b2a6cf61bb3a4694e.tar.gz
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.h1
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