This aids in identifying where an unrelated branch history starts when using `git log --graph --oneline --all` Signed-off-by: Kyle Marek <kmarek@xxxxxxxx> --- revision.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/revision.c b/revision.c index 9dff845bed..8556923de8 100644 --- a/revision.c +++ b/revision.c @@ -4191,9 +4191,11 @@ const char *get_revision_mark(const struct rev_info *revs, const struct commit * return "<"; else return ">"; - } else if (revs->graph) + } else if (revs->graph) { + if (!commit->parents) + return "#"; return "*"; - else if (revs->cherry_mark) + } else if (revs->cherry_mark) return "+"; return ""; } -- 2.29.2