diff options
author | Junio C Hamano <junkio@cox.net> | 2005-09-19 15:11:15 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-09-20 15:07:53 -0700 |
commit | b0391890d25d9e7ca8f7df2199292df68ead8093 (patch) | |
tree | 9562d2c1387af4afb6f72317e8e1155b4b7fca48 /Documentation/git-ls-files.txt | |
parent | 1991b223c05d45d2a915842990b2a7c4819dcbcf (diff) | |
download | git-b0391890d25d9e7ca8f7df2199292df68ead8093.tar.gz git-b0391890d25d9e7ca8f7df2199292df68ead8093.tar.xz |
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>
Diffstat (limited to 'Documentation/git-ls-files.txt')
-rw-r--r-- | Documentation/git-ls-files.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Documentation/git-ls-files.txt b/Documentation/git-ls-files.txt index 628d424ec..591f4ed46 100644 --- a/Documentation/git-ls-files.txt +++ b/Documentation/git-ls-files.txt @@ -1,6 +1,5 @@ git-ls-files(1) =============== -v0.1, May 2005 NAME ---- @@ -10,8 +9,8 @@ git-ls-files - Information about files in the cache/working directory SYNOPSIS -------- 'git-ls-files' [-z] [-t] - (--[cached|deleted|others|ignored|stage|unmerged|killed])\* - (-[c|d|o|i|s|u|k])\* + (--[cached|deleted|others|ignored|stage|unmerged|killed|modified])\* + (-[c|d|o|i|s|u|k|m])\* [-x <pattern>|--exclude=<pattern>] [-X <file>|--exclude-from=<file>] [--exclude-per-directory=<file>] @@ -33,6 +32,9 @@ OPTIONS -d|--deleted:: Show deleted files in the output +-m|--modified:: + Show modified files in the output + -o|--others:: Show other files in the output @@ -71,6 +73,7 @@ OPTIONS H cached M unmerged R removed/deleted + C modifed/changed K to be killed ? other |