Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] convert: legitimately disable clean/smudge filter with an empty override

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:08:01

Lars Schneider [off-list ref] writes:
If the clean/smudge command of a Git filter driver (filter.<driver>.smudge and
filter.<driver>.clean) is set to an empty string ("") and the filter driver is
not required (filter.<driver>.required=false) then Git will run successfully.
However, Git will print an error for every file that is affected by the filter.

Teach Git to consider an empty clean/smudge filter as legitimately disabled
and do not print an error message if the filter is not required.
That makes more sense to me.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help