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 Aug 8, 2023
1 parent d011aa6 commit f8aecf7
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 @@ -4365,7 +4365,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 f8aecf7

Please sign in to comment.