Open
Description
I recently started using diff-so-fancy
. I really like the way new files are being shown. I used to miss them when scrolling quickly even with diff-highlight
, that doesn't happen anymore.
What happens to me now is that I miss the beginning of a new commit when running a command like git log -p
.
Suggestion: similarly to how files are shown like:
______________________________________...
file.txt:123
______________________________________...
could commits look like:
******************************************************...
******************************************************...
commit 123abc...
author: Donald Knuth
Commit Title
* commit
* description
******************************************************...
******************************************************...
______________________________________...
file.txt:123
______________________________________...
file.txt diffs
______________________________________...
file2.txt:123
______________________________________...
file2.txt diffs
******************************************************...
******************************************************...
commit 123abd...
author: Genghis Khan
Commit Title
* commit
* description
******************************************************...
******************************************************...
______________________________________...
file.txt:123
______________________________________...
file.txt diffs
______________________________________...
file2.txt:123
______________________________________...
file2.txt diffs
The rationale behind it is: file diffs and part of a commit. Hence the graphical representation of a commit should be "larger" than the one for each file. Similarly to how "Title1" is often displayed in a larger font than "Title2", in docs for example.
Cheers.