When calling `git ls-files -m` to list modified files, use --with-tree=HEAD
authorZac Medico <zmedico@gentoo.org>
Wed, 3 Dec 2008 05:42:34 +0000 (05:42 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 3 Dec 2008 05:42:34 +0000 (05:42 -0000)
commit5c1fc7525927985fb97dcdb851808e48fee60614
tree5d9ab7533604009e431abe0c32ec8cbd998db263
parentd6550d32de30c01eac956c36951090bef4ec8fd8
When calling `git ls-files -m` to list modified files, use --with-tree=HEAD
so that differences from the most recent commit are given instead of
differences from the index which is used for commit staging purposes.
This is required since otherwise files that have been added via `git add`
(such as echangelog does with the ChangeLog) won't show up in the list
of modified files due to being unmodified relative to the index. Thanks
to Christian Ruppert (idl0r) for reporting.

svn path=/main/trunk/; revision=12140
bin/repoman