mirror of
https://github.com/git-for-windows/git.git
synced 2026-02-19 03:07:25 -06:00
If the worktree happened to have a file called HEAD, "diff-index --cached HEAD" would complain about the ambiguity between revision and path. Avoid it by using an explicit "--" for disambiguation. Signed-off-by: Junio C Hamano <gitster@pobox.com>