Make cache entry comparison take the new "state" flag into account.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 05:51:44 +0000 (22:51 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 05:51:44 +0000 (22:51 -0700)
commit95fd5bf82ae28da47dcbf8e6e4570e64d71dc532
tree192f84588c8e47a2d8ca3d0c6e50641b7a2491b8
parentc347ea5d6fc6bae6b6ea3196013c4df7ec4406a8
Make cache entry comparison take the new "state" flag into account.

This is what allows us to have multiple states of the same file in
the index, and what makes it always sort correctly.
cache.h
read-cache.c