Skip to content

Add "two line" mode to show commit msg on 2nd line  #10

@garyo

Description

@garyo

Thanks for ogl, I'm using it all the time now and I love it!
The only thing I'm missing is sometimes it truncates branch info that I need.

I use something like this for my git ll config:

alias.ll=log -10 --graph --date-order --format=twolines
pretty.twolines=tformat:%h %an, %cr: %d%n. . . . %w(70,0,8)%s

% git ll
* d3694b9 Gary, 4 minutes ago:  (HEAD -> master, origin/feature/assembly-param, feature/assembly-param)
| . . . . Only warn on errors loading unknown params from db
* f03d361 Gary, 5 minutes ago:
| . . . . Use mutations to set assembly param choices & value
* 8da8df4 Gary, 5 minutes ago:
| . . . . Add default assembly as proper Param, with store
* 5aee3b8 Gary , 5 minutes ago:
| . . . . Add ability to set default assembly, & show model name & title
*   1cebe2e Gary, 9 minutes ago:  (origin/master)
|\  . . . . Merge branch 'feature/fullscreen-mode' into 'master'
| * 4424c44 Mmmm, 20 hours ago:  (origin/feature/fullscreen-mode)
|/  . . . . Add a button for entering/exiting fullscreen mode
*   8dc2f90 Gary, 22 hours ago:
|\  . . . . Merge branch 'upgrade/front-end-packages' into 'master'
| * a437c10 Mmmm, 23 hours ago:  (origin/upgrade/front-end-packages, upgrade/front-end-packages)   | | . . . . Fix problem with Chrome crashes while running e2e tests

the nice thing about this is you can see all the branches that each commit is part of, even if the branch names are long. Any chance you could add a "two-line" mode like this, but with the amazing prettiness that OGL has?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions