Commit 0a78a52ed9c6945151536d0f19aa39b081a4a8ac

Carlos Martín Nieto 2015-05-11T16:09:09

index: make add_all to act on a diff Instead of going through each entry we have and re-adding, which may not even be correct for certain crlf options and has bad performance, use the function which performs a diff against the worktree and try to add and remove files from that list.