Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx> writes: > @@ -638,6 +640,9 @@ int log_tree_commit(struct rev_info *opt, struct commit *commit) > log.parent = NULL; > opt->loginfo = &log; > > + if (!commit->parents && lookup_commit_graft(commit->object.sha1)) > + add_name_decoration(DECORATION_GRAFTED, "grafted", > + &commit->object); I am not very enthused about this change. We have already looked up the commit when we parsed it, and then we again have to call lookup_commit_graft() which would yield false for most of the commits? Does this work with replacements and shallows, by the way? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html