Stephen Kelly wrote:
> I see that gitk is showing the output of git diff --submodule, similar to
> git submodule summary.
> Assuming that is not going to be changed, maybe I can hack
> parseblobdiffline locally. I have not really tried to read of write tcl
> code before though, so I'd still prefer a 'proper' solution somehow.
I dug deeper and came up with this patch which suits my needs:
diff --git a/submodule.c b/submodule.c
index b80ecac..0dacd61 100644
@@ -297,7 +297,7 @@ static int prepare_submodule_summary(struct rev_info
*rev, const char *path,
setup_revisions(0, NULL, rev, NULL);
rev->left_right = 1;
- rev->first_parent_only = 1;
+ rev->max_parents = 1;
left->object.flags |= SYMMETRIC_LEFT;
add_pending_object(rev, &left->object, path);
add_pending_object(rev, &right->object, path);
The 'merge pull request' merges are only noise to me.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html