revision --simplify-merges: use decoration instead of commit->util field

The users of revision walking machinery may want to use the util pointer
for their own use.  Use decoration to hold the data needed during merge
simplification instead.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano
2008-08-14 10:59:44 -07:00
parent 6534703059
commit faf0156b27
2 changed files with 38 additions and 12 deletions

View File

@ -110,6 +110,7 @@ struct rev_info {
struct reflog_walk_info *reflog_info;
struct decoration children;
struct decoration merge_simplification;
};
#define REV_TREE_SAME 0