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 14, 2023
1 parent 6600a9f commit 7016529
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 7016529

Please sign in to comment.