In Sourcetree (git repository) I'm not able to stage non contiguous lines.
Is it a git limitation or SourceTree ?
Thanks,
Oleg
You should use smartGit for that. It has an Index Editor which lets you freely edit the index and working tree contents of files.
It's a SourceTree limitation, SourceTree needs to build a patch file in order to manipulate the diff on a line level, and non-contiguous line selections make that a lot less reliable. Instead of selecting 2 non-contiguous areas of the file though you can just select a single area at a time and stage that instead.
Thanks for explanation and workaround. Any plans for improvement ?
Thanks, Mike.
It looks like you're new here. Sign in or register to get started.