summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 695bf72)
raw | patch | inline | side by side (parent: 695bf72)
author | Junio C Hamano <junkio@cox.net> | |
Fri, 23 Dec 2005 23:51:33 +0000 (15:51 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 23 Dec 2005 23:51:33 +0000 (15:51 -0800) |
Somehow this option was not mentioned anywhere in the
documentation nor the usage string.
Signed-off-by: Junio C Hamano <junkio@cox.net>
documentation nor the usage string.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-ls-files.txt | patch | blob | history | |
ls-files.c | patch | blob | history |
index 2f308ecda9d039224d2714e4cfd209422605430f..186f3bb57a6d77da9705860d730cf8cd3c9d867f 100644 (file)
(-[c|d|o|i|s|u|k|m])\*
[-x <pattern>|--exclude=<pattern>]
[-X <file>|--exclude-from=<file>]
- [--exclude-per-directory=<file>] [--] [<file>]\*
+ [--exclude-per-directory=<file>]
+ [--full-name] [--] [<file>]\*
DESCRIPTION
-----------
K:: to be killed
? other
+--full-name::
+ When run from a subdirectory, the command usually
+ outputs paths relative to the current directory. This
+ option forces paths to be output relative to the project
+ top directory.
+
--::
Do not interpret any more arguments as options.
diff --git a/ls-files.c b/ls-files.c
index f3f1a6a6633881bf43887731fdcbe08af9ad2f4a..5e9ac712af069e773fd7dd562706384b45683753 100644 (file)
--- a/ls-files.c
+++ b/ls-files.c
static const char ls_files_usage[] =
"git-ls-files [-z] [-t] (--[cached|deleted|others|stage|unmerged|killed|modified])* "
"[ --ignored ] [--exclude=<pattern>] [--exclude-from=<file>] "
- "[ --exclude-per-directory=<filename> ] [--] [<file>]*";
+ "[ --exclude-per-directory=<filename> ] [--full-name] [--] [<file>]*";
int main(int argc, const char **argv)
{