summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-03-07 19:59:17 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-03-17 22:10:24 (GMT)
commitad0cae4cb9364b02b74b17f98f818a8e07372693 (patch)
treeb0eb548a7bfb8fc037a0627272f612a20e213731 /Documentation
parentcb85bfe5dfd7504dfee43ae49a76edb92e8d8eb0 (diff)
downloadgit-ad0cae4cb9364b02b74b17f98f818a8e07372693.zip
git-ad0cae4cb9364b02b74b17f98f818a8e07372693.tar.gz
git-ad0cae4cb9364b02b74b17f98f818a8e07372693.tar.bz2
ls-files: add --abbrev[=<n>] option
Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-ls-files.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/Documentation/git-ls-files.txt b/Documentation/git-ls-files.txt
index e813f84..59f6adc 100644
--- a/Documentation/git-ls-files.txt
+++ b/Documentation/git-ls-files.txt
@@ -14,9 +14,9 @@ SYNOPSIS
(-[c|d|o|i|s|u|k|m])\*
[-x <pattern>|--exclude=<pattern>]
[-X <file>|--exclude-from=<file>]
- [--exclude-per-directory=<file>]
+ [--exclude-per-directory=<file>]
[--error-unmatch]
- [--full-name] [--] [<file>]\*
+ [--full-name] [--abbrev] [--] [<file>]\*
DESCRIPTION
-----------
@@ -98,6 +98,11 @@ OPTIONS
option forces paths to be output relative to the project
top directory.
+--abbrev[=<n>]::
+ Instead of showing the full 40-byte hexadecimal object
+ lines, show only handful hexdigits prefix.
+ Non default number of digits can be specified with --abbrev=<n>.
+
--::
Do not interpret any more arguments as options.