diff options
author | Dmitry Potapov <dpotapov@gmail.com> | 2008-08-03 18:36:22 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-08-03 13:38:22 -0700 |
commit | 4a3d85dcf6722b7e5d16b5b1f69b51e39ad5f1dc (patch) | |
tree | c9aec5da0451797e6d6d03e9cb7bfed922c72734 /Documentation | |
parent | 39702431500b76425f047209c9e9b2aae7e92b00 (diff) | |
download | git-4a3d85dcf6722b7e5d16b5b1f69b51e39ad5f1dc.tar.gz git-4a3d85dcf6722b7e5d16b5b1f69b51e39ad5f1dc.tar.xz |
add --no-filters option to git hash-object
The new option allows the contents to be hashed as is, ignoring any input
filter that would have been chosen by the attributes mechanism.
This option is incompatible with --path and --stdin-paths options.
Signed-off-by: Dmitry Potapov <dpotapov@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-hash-object.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/git-hash-object.txt b/Documentation/git-hash-object.txt index fececbf75..0af40cfb8 100644 --- a/Documentation/git-hash-object.txt +++ b/Documentation/git-hash-object.txt @@ -9,7 +9,7 @@ git-hash-object - Compute object ID and optionally creates a blob from a file SYNOPSIS -------- [verse] -'git hash-object' [-t <type>] [-w] [--path=<file>] [--stdin] [--] <file>... +'git hash-object' [-t <type>] [-w] [--path=<file>|--no-filters] [--stdin] [--] <file>... 'git hash-object' [-t <type>] [-w] --stdin-paths < <list-of-paths> DESCRIPTION @@ -47,6 +47,12 @@ OPTIONS temporary files located outside of the working directory or files read from stdin. +--no-filters:: + Hash the contents as is, ignoring any input filter that would + have been chosen by the attributes mechanism, including crlf + conversion. If the file is read from standard input then this + is always implied, unless the --path option is given. + Author ------ Written by Junio C Hamano <gitster@pobox.com> |