Re:[FOR GIT USERS] YoLog – Lightweight Wrapper to Beautify Y...
by YeGoblynQueenne on Saturday June 11, 2016 @12:46PM
(#11884123)
Nope, don't like it. The built-in git commit log is plain but space-efficient, displaying all you need in a small number of columns. If you want a commit graph you can get it just fine with git log --graph.
Short, this doesn't seem to to do anything you can't do with plain git already and what it does is not as good as what git does by default.
Edit: apologies to the project maintainer btw, but I really don't see the point.
Re:[FOR GIT USERS] YoLog – Lightweight Wrapper to Beautify Y...
by d4rth_s1d10us on Saturday June 11, 2016 @01:04PM
(#11884218)
I respect your opinion. I had a personal desire for a colourful log, and wanted better customization. Initially I set an alias and was good to go, but then I just sat for two hours and packaged it using setuptools.
For future versions I am planning one command change in the theme of git logs, and possibly setting up themes through config files.
The resulting library is a mere 5 KB in size and I got a hang of writing 'yolog' and getting the output :-)
Re:[FOR GIT USERS] YoLog – Lightweight Wrapper to Beautify Y...
by d4rth_s1d10us on Saturday June 11, 2016 @09:25PM
(#11886206)
I initially went with a similar approach. But then I locally worked on a few repos locally where I am the author of all commits, so I can strip off name and email for those repos. I know per-repository gitconfigs can exist, but I decided a small wrapper would be more efficient.
Version 0.2.0 is just a minimal functional version, but I am planning to add configuration options where you can turn off, reorder columns, change date format, do anything with a simple single line commands.
Re:[FOR GIT USERS] YoLog – Lightweight Wrapper to Beautify Y...
by ironislands on Saturday June 11, 2016 @09:15PM
(#11886182)
I tried it, yours is a bit different, if your columns are smaller than the size you declared it leaves that extra white space, while yolog autofits columns.
I like refs better than email.
Thanks for informing, i cannot understand this syntax, can you provide a link to understand ?
Thanks for this beautiful and compact representation. Cheers :-)
Short, this doesn't seem to to do anything you can't do with plain git already and what it does is not as good as what git does by default.
Edit: apologies to the project maintainer btw, but I really don't see the point.
For future versions I am planning one command change in the theme of git logs, and possibly setting up themes through config files.
The resulting library is a mere 5 KB in size and I got a hang of writing 'yolog' and getting the output :-)
[format] pretty = format:%<(10)%C(yellow)%h%Creset %<(100,trunc)%s %<(30)%Cblue%ad%Creset %C(magenta)%ae%Creset
Version 0.2.0 is just a minimal functional version, but I am planning to add configuration options where you can turn off, reorder columns, change date format, do anything with a simple single line commands.
I like refs better than email. Thanks for informing, i cannot understand this syntax, can you provide a link to understand ?
https://git-scm.com/docs/pretty-formats