Commit 894ccf4b162f87745ce890485f198374e9404152

Patrick Steinhardt 2018-02-20T16:14:54

Merge pull request #4535 from libgit2/ethomson/checkout_typechange_with_index_and_wd checkout: when examining index (instead of workdir), also examine mode