libgit2/libgit2 — Issue #591: Implement API for partial file adding similar to "git add -p"
Author: kaisellgren
Created: 2012-03-07 17:08:08+00:00
State: open

An API that allows you to add parts of files into the index would be vastly helpful. The behavior would be similar to what you can achieve with ```git add -p```. I believe this API would allow you to define the line numbers ```from``` and ```to``` and it would add the lines between those two values to the index.