Merge branch 'jh/filter-empty-contents'
commit152722f155165cbeca43c7e82abe68e66d088b33
authorJunio C Hamano <gitster@pobox.com>
Mon, 1 Jun 2015 19:45:10 +0000 (1 12:45 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Jun 2015 19:45:11 +0000 (1 12:45 -0700)
tree5812a9e9b1ff1c2b134feac290ce9094b1c6b632
parent6e0ac8e45f688abf8deb10a1716461b61400f669
parentf6a1e1e288d13472f5f7fe2b907bb8c0bd69a018
Merge branch 'jh/filter-empty-contents'

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