3 ms·
Hah someone really looked at jq (?) and thought: "yes, more of this everywhere". I feel jq is like marmite (edit: aka vegemite, i.e. "you either love it or you
by gib444 7mo ago
Hah someone really looked at jq (?) and thought: "yes, more of this everywhere". I feel jq is like marmite (edit: aka vegemite, i.e. "you either love it or you hate it")
- maleldil 7mo agoIt's really not that bad, although the jq comparison might be apt. You have such primitives you need to understand, and then everything just fits together nicely. I find this much easier to write and understand than git's cryptic format strings. Disclaimer: I love jq too :)
- plandis 7mo agoIt doesn't seem any more egregious than something like: `git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --` Which is something I see a lot of people alias in Git for viewing logs.
- skydhash 7mo ago> `git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --` If you remove the rainbow specification, it should be git log --graph --pretty=format:'%h -%d %s (%cr) <%an>' --abbrev-commit -- And most programmers are used to C style formatting.