Skip to content

Commit

Permalink
log: show U for uninteresting
Browse files Browse the repository at this point in the history
The revision walker reserves `^` to denote an uninteresting commit but
never shows these. Denote this by `U` instead to free up `^` for when we
need (and show) it.
  • Loading branch information
mjg committed May 12, 2024
1 parent 78c6485 commit 01d5368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion revision.c
Original file line number Diff line number Diff line change
Expand Up @@ -4458,7 +4458,7 @@ const char *get_revision_mark(const struct rev_info *revs, const struct commit *
if (commit->object.flags & BOUNDARY)
return "-";
else if (commit->object.flags & UNINTERESTING)
return "^";
return "U";
else if (commit->object.flags & PATCHSAME)
return "=";
else if (!revs || revs->left_right) {
Expand Down

0 comments on commit 01d5368

Please sign in to comment.