Alexey Voinov <[email protected]> writes:

> On Wed, Jan 20, 2010 at 4:03 PM, David Abrahams <[email protected]> wrote:
>>
>> I keep finding myself unable to reduce the size of hunks enough to
>> separate the material I want to stage.  Is there a way to stage just
>> the lines of a hunk that I have selected?  If not, would it be hard to
>> implement?
>
> + and - will do. 0 will reset chunk size to default value.

Yes, but as David says it's a question of reducing the size
_enough_. magit-diff-smaller-hunks hits a limit and won't make them any
smaller after that. It doesn't always allow you to separate a particular
line for staging. Or is this a limitation of git? Is magit using the
same underlying code as git add -i (which also sometimes doesn't allow
one to split a hunk as much as one might like)?

Dan

Reply via email to