Merge branch 'jh/filter-empty-contents' into maint
commit070d276cc15494184d2004d506e663f0cb791d44
authorJunio C Hamano <gitster@pobox.com>
Tue, 16 Jun 2015 21:33:44 +0000 (16 14:33 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Jun 2015 21:33:44 +0000 (16 14:33 -0700)
tree66fda933738d92a0730ed73902a3f0fad0dd04cd
parent659d4c8fb21902660acd52f9e77170e82774b9ff
parentf6a1e1e288d13472f5f7fe2b907bb8c0bd69a018
Merge branch 'jh/filter-empty-contents' into maint

The clean/smudge interface did not work well when filtering an
empty contents (failed and then passed the empty input through).
It can be argued that a filter that produces anything but empty for
an empty input is nonsense, but if the user wants to do strange
things, then why not?

* jh/filter-empty-contents:
  sha1_file: pass empty buffer to index empty file
sha1_file.c
t/t0021-conversion.sh