diff-index --cc shows a 3-way diff between HEAD, index and working tree.