Merge branch 'jh/filter-empty-contents' into next
commit9cad39870f840a59a70fe7291e5569825b6b280a
authorJunio C Hamano <gitster@pobox.com>
Tue, 26 May 2015 20:53:09 +0000 (26 13:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 May 2015 20:53:09 +0000 (26 13:53 -0700)
tree3b1e57a0bbad3e64b538831da4e042afe2b04f99
parent9f3bd8a4f7ed865e9474cd75af64d05fcca5f160
parentf6a1e1e288d13472f5f7fe2b907bb8c0bd69a018
Merge branch 'jh/filter-empty-contents' into next

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