kemayo/sublime-text-2-git — pull request #77 by sheldon (2012-01-25 23:03:36+00:00)
Title: Add hunk feature

A way to add only part of a file to the index. Useful if you need to break up a bunch of changes in 1 file into different commits.

To use it, select the lines in your file that have changes, and fire the add selected hunk command. It will only add the hunks you had selected. Supports multiple selections, and selecting over more than 1 hunk, i.e. if there are multiple changes in a function you can select the whole function to only add changes to that function.

I'm leaving this here for people to try out, when it's been tested a bit more I'll merge it into mainline.