News for hackers. Stuff that matters.
Re:Lazygit: A simple terminal UI for Git commands by caseyohara on Tuesday November 30, 2021 @10:48PM (#29400444)
> committing an abitrary range of characters

Honest question: what is the practical use case for this? I'm a fan of small, atomic commits but I don't recall ever wanting to commit just a range of characters.

Re:Lazygit: A simple terminal UI for Git commands by samus on Tuesday November 30, 2021 @11:08PM (#29400556)
It could be useful for changes in CSV files or text files with table-like formatting where you want to commit the change in just one specific column of a row, but not the other. I could also see it for binary files which aren't structured into lines.
Re:Lazygit: A simple terminal UI for Git commands by ljm on Wednesday December 01, 2021 @11:04AM (#29405145)
I use it quite a lot to stage a subset of a change, and then drop the rest of it. In that sense, it's like an overpowered undo tool that helps me keep a change I want without having to rewrite the whole thing.