]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jh/filter-empty-contents' into maint
authorJunio C Hamano <gitster@pobox.com>
Tue, 16 Jun 2015 21:33:44 +0000 (14:33 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Jun 2015 21:33:44 +0000 (14:33 -0700)
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

1  2 
sha1_file.c
t/t0021-conversion.sh

diff --cc sha1_file.c
Simple merge
Simple merge