diff options
author | Edward Thomson <ethomson@microsoft.com> | 2014-02-01 12:05:00 -0800 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2014-02-03 19:56:34 -0800 |
commit | c0b10c25e02c6922276567600988fb2b85aeede1 (patch) | |
tree | 423e6a5a50bfe3ff36c4f73e73ef6a1696aaefa5 /src/commit.c | |
parent | bb13d39162b0416585b34f18e9072fc4364d2655 (diff) | |
download | libgit2-c0b10c25e02c6922276567600988fb2b85aeede1.tar.gz |
Merge wd validation tests against index not HEAD
Validating the workdir should not compare HEAD to working
directory - this is both inefficient (as it ignores the cache)
and incorrect. If we had legitimately allowed changes in the
index (identical to the merge result) then comparing HEAD to
workdir would reject these changes as different. Further, this
will identify files that were filtered strangely as modified,
while testing with the cache would prevent this.
Also, it's stupid slow.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions