Subject: [BUG?] ls-files -d does not show files removed using 'git rm'

From: Girish Ramakrishnan <[email-masked]>
Date: Fri, 22 Aug 2008 21:29:29 +0530

If I remove a file using the shell rm, it is listed by ls-files -d.
However, it is not listed if I use 'git rm'.

$ rm foo
$ git ls-files -t -d
R foo
$ git checkout foo
$ git rm foo
rm 'foo'
$ git ls-files -t -d
$

Is this a bug? In any case, is there a way to find out what files have
been removed using git rm using ls-files (git status does show it)?

Girish