3 ms·
I won't use any version control system that doesn't let me stage individual changes in files. Staging entire files at once is just wrong.
by nathan_compton 2y ago
I won't use any version control system that doesn't let me stage individual changes in files. Staging entire files at once is just wrong.
- FrancoisBosun 2y agoI use Sapling as my main driver. I can commit or revert individual hunks just fine.
- zzl0 2y agoWhile there is no staging area, the powerful "--interactive" option is used to select specific files or lines you want committed. Besides that, there are powerful "split" feature to split a commit into smaller commits or move changes between commits.
- aseipp 2y agoYou can do that with Sapling, in fact it's both very easy and conceptually more robust than Git because with Sapling you are just manipulating commits. Sapling also includes `sl web` which makes interactive commits, splitting, and rebasing a breeze. In Sapling, commits are easy to manipulate, so there's nearly no need for the staging area, unlike Git where the staging area is easy to manipulate but commits are unreasonably hard. You can stage temporary changes to your hearts desire with a slight mindset shift.