News for hackers. Stuff that matters.
Re:Oh Shit, Git? by baobun on Thursday January 16, 2025 @07:24PM (#42732679)
Is not very compatible with printlog-debugging. I'd rather encourage devs to prod around as they go if it benefits them, which causes grief for either them or reviewers in the end if they've internalized what you just said.

Explicitly adding internalizes a personal review process as inherent part of the push process, instead of something you attempt to force on top later.

It's better with a collaboration workflow that limits the span of time with expected discipline, imo.

Re:Oh Shit, Git? by recursive on Thursday January 16, 2025 @07:47PM (#42732823)
You can have both. Make sure the whole diff is what you want it to be before invoking `add .`
Re:Oh Shit, Git? by baobun on Friday January 17, 2025 @03:51PM (#42743104)
Sure. I hear the pull-out method is also an effective contraceptive.
Re:Oh Shit, Git? by recursive on Friday January 17, 2025 @06:33PM (#42744366)
If it works for you, I'm not going to try to talk you out of it.