filhodanuvem / gitql

💊 A git query language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Display of multiline commit messages

jamescowie opened this issue · comments

When a commit message is spread over multiple lines E.g.:

This is first line of message:
* Second
* Third

Then only the first line This is first line of message: gets output in the table.

@jamescowie I was think also to include ... instead of showing the whole message, in cases like that

Ah looking into code it looks like it was a choice already made. https://github.com/cloudson/gitql/blob/develop/runtime/commits.go#L90 I might look at options to show based on setting runtime arg.

Ok proposed solution that I have working is to have 2 types e.g. Message and that shows single line and full_message to show multi line.

or is this just better to remove filter for multi lines ?

I like the idea of having two types... what do you think @cloudson ?

Hey guys, the commits table have already the two columns message and full_message.
But I know that the table is showed broken when we do

select author, full_message from commits

Maybe we can work in a new way to print a table.

Thanks for the reply. I found that when printing full message. I'm looking at how the table cells get rendered in an effort to make it fluid. However still learning to at the same time.

Any news regarding that @jamescowie ?