josa42 / atom-blame

Show git blame as a gutter in Atom editor
https://atom.io/packages/blame
MIT License
22 stars 18 forks source link

Show each commit in its own colour. #36

Closed sboekhoff closed 7 years ago

sboekhoff commented 7 years ago

As a user I'd like to be supported at seeing which lines were changed in the same commit. Therefore it would be great to show the background of each blame-line in a colour that is specific for the commit. Currently the blame plugin only alternates between classes blame-odd and blame-even. A possible solution would be to use the first 6 character of the commit hash as RGB colours for an X % transparent background colour.

sboekhoff commented 7 years ago

@josa42: It just noticed that your branch experimental-colors goes into that direction.

josa42 commented 7 years ago
screen shot 2017-05-23 at 11 59 17

The latest release adds a color to the left border of the gutter.