t2203: add a test about "diff HEAD" case
commit8fc8f05cef9b5a60cc7adbd5cd6ed130a89ca4e1
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sat, 26 May 2018 12:08:45 +0000 (26 14:08 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 May 2018 03:42:27 +0000 (29 12:42 +0900)
tree719211f993b11d774be69dc2a448a91c1a8e2691
parent0231ae71d3d6706183777fbfd91667d620776e87
t2203: add a test about "diff HEAD" case

Previous attempts to fix ita-related diffs breaks this case. To make
sure that does not happen again, add a test to verify the behavior
wrt. ita entries when we diff a worktree and a tree.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t2203-add-intent.sh