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 Oct 8, 2023
1 parent 5fc05c9 commit 961610e
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 @@ -4381,7 +4381,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 961610e

Please sign in to comment.