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>
maint
Dmitry Potapov17 years agocommitted byJunio C Hamano
@ -9,7 +9,7 @@ git-hash-object - Compute object ID and optionally creates a blob from a file
@@ -9,7 +9,7 @@ git-hash-object - Compute object ID and optionally creates a blob from a file
@ -117,6 +125,22 @@ test_expect_success 'check that appropriate filter is invoke when --path is used
@@ -117,6 +125,22 @@ test_expect_success 'check that appropriate filter is invoke when --path is used
git config --unset core.autocrlf
'
test_expect_success 'check that --no-filters option works' '