Show modified files in git-ls-files
authorJunio C Hamano <junkio@cox.net>
Mon, 19 Sep 2005 22:11:15 +0000 (15:11 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 20 Sep 2005 22:07:53 +0000 (15:07 -0700)
commitb0391890d25d9e7ca8f7df2199292df68ead8093
tree9562d2c1387af4afb6f72317e8e1155b4b7fca48
parent1991b223c05d45d2a915842990b2a7c4819dcbcf
Show modified files in git-ls-files

Add -m/--modified to show files that have been modified wrt. the index.

[jc: The original came from Brian Gerst on Sep 1st but it only checked
if the paths were cache dirty without actually checking the files were
modified.  I also added the usage string and a new test.]

Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-ls-files.txt
cache.h
ls-files.c
read-cache.c
t/t3010-ls-files-killed-modified.sh [moved from t/t3010-ls-files-killed.sh with 55% similarity]
update-index.c