diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-05-11 13:24:53 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-05-14 15:23:12 +0200 |
commit | 713e11e0b1ad72d6905641669655fe860767c310 (patch) | |
tree | 6629076b451f2cec5e8f529728fece79904eebd7 /tests/diff/diffiter.c | |
parent | 98270f56d102749cbd2b81cdd2405033336cb705 (diff) | |
download | libgit2-713e11e0b1ad72d6905641669655fe860767c310.tar.gz |
index: use a diff to perform update_all
We currently iterate over all the entries and re-add them to the
index. While this provides correctness, it is wasteful as we try to
re-insert files which have not changed.
Instead, take a diff between the index and the worktree and only re-add
those which we already know have changed.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions