4 ms·
Amusing, but less than the title suggests (no porcelain, no reliability properties, no error checking, etc). Still, fun stuff.
by downerending 7y ago
Amusing, but less than the title suggests (no porcelain, no reliability properties, no error checking, etc).
Still, fun stuff.
- jaytaylor 7y agoInteresting terminology, I'd never heard of porcelain in the context of git. In case there are others like me, this will save some clicking: https://stackoverflow.com/q/6976473/293064 https://stackoverflow.com/q/6976473/293064
- Izkata 7y agoAnd then there's random stuff like "git status --porcelain", an easily-parsed version of "git status"
- Sean1708 7y agoAm I reading that correctly? A porcelain command is one that's not supposed to be used in scripts, but the --porcelain flag is for when you do want to use things in scripts?
- IshKebab 7y agoWhy would you expect reliability and error checking in a shell implementation of git? It's clearly a mad bit of fun.
- downerending 7y agoI wouldn't necessarily expect it in a "mad bit of fun", and I'm implicitly noting that that's what this is. I completely require it in shell scripts in general. Good checking of errors is really a fundamental requirement of professional programming.