]> git.proxmox.com Git - libgit2.git/commit
git_checkout_index: checkout other indexes
authorEdward Thomson <ethomson@microsoft.com>
Fri, 23 May 2014 21:50:51 +0000 (14:50 -0700)
committerEdward Thomson <ethomson@edwardthomson.com>
Tue, 1 Jul 2014 21:32:15 +0000 (17:32 -0400)
commit967f5a76b1c89f1f93840407fd2afd1e8005dad6
tree6f8c392d63aa0d7dc6e9a254cb37fdbecb7b9937
parent1453bd20897d074a3f65d86f0d2bbb72ed23d071
git_checkout_index: checkout other indexes

git_checkout_index can now check out other git_index's (that are not
necessarily the repository index).  This allows checkout_index to use
the repository's index for stat cache information instead of the index
data being checked out.  git_merge and friends now check out their
indexes directly instead of trying to blend it into the running index.
src/checkout.c
src/cherrypick.c
src/merge.c
src/merge.h
src/revert.c
tests/merge/workdir/dirty.c