gregsexton / gitv

gitk for Vim.
938 stars 59 forks source link

Options to customize log output? #42

Open mgeier opened 12 years ago

mgeier commented 12 years ago

Is it possible to change the appearance of the log, for example

Could this be done with a vim variable (or several variables)?

gregsexton commented 12 years ago

Hi,

Currently, no it's not possible. If I remember correctly at least some parts of the code makes assumptions about the log output. It may not be that small a change. Is this just a personal preference or do you have a bigger reason for wanting this change?

Thanks,

Greg

mgeier commented 12 years ago

Thanks for the answer. No, I don't have a bigger reason, I guess. The problem is only that with columns=80 very often the SHA1 is not visible. I don't need it very often, so it's not that important, I just thought there may be some variable to manipulate the git log --format=... option, but I guess there may be problems with the syntax highlighting and the alignment in columns.

My personal preference would be to get rid of the column alignment (and the empty space that comes with that and change the format from

*  My commit message                                                    5 days ago    Firstname Lastname  [ebf2bdc]

to

*  [ebf2bdc]  My commit message    5 days ago    Firstname Lastname

... but of course other people will have other preferenes.

BTW, gitv is great and I use it nearly every day!