app icon indicating copy to clipboard operation
app copied to clipboard

Better output format for commits?

Open appetrosyan opened this issue 2 years ago • 0 comments

Currently all output of DCO is text-wrapped at random locations which makes it extremely difficult to read. I propose adjusting the text output slightly:

Commit: sha - adfaf43 - Author: Aleksandr Petrosyan (Commiter: Aleksandr Petrosyan) <remove if the same>
Expected: `Signed-off-by: Aleksandr <[email protected]>`
Actual: `Signed-off-by: Aleksandr Petrosyan <[email protected]>`

Benefits

I often have to amend commits on my team's behalf. Much easier to be able to copy-and-paste directly. Also more readable, because the second line always contains Expected: <Stuff> and the third line always Actual <wrong-stuff>.

If it were possible to specify this template optionally for projects that prefer the old format, it'd also be great.

appetrosyan avatar May 12 '22 15:05 appetrosyan