Remix.run Logo
duskdozer 8 hours ago

Curious - why write it as a function in presumably .gitconfig and not just a git-summary script in your path? Just seems like a lot of extra escapes and quotes and stuff

mattrighetti 8 hours ago | parent | next [-]

It's a very old config that I copied from someone many years ago, agree that it's a bit hard to parse visually.

Cthulhu_ 6 hours ago | parent | prev | next [-]

Not the poster, but one theory: so you only need to copy one file. Portability.

mr_mitm 6 hours ago | parent | next [-]

Looks like the above assumes a POSIX shell, so one could argue a dedicated script would actually be more portable.

5 hours ago | parent | prev [-]
[deleted]
7 hours ago | parent | prev [-]
[deleted]