https://github.com/git/git
Revision 070d276cc15494184d2004d506e663f0cb791d44 authored by Junio C Hamano on 16 June 2015, 21:33:44 UTC, committed by Junio C Hamano on 16 June 2015, 21:33:44 UTC
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
2 parent s 659d4c8 + f6a1e1e
History
Tip revision: 070d276cc15494184d2004d506e663f0cb791d44 authored by Junio C Hamano on 16 June 2015, 21:33:44 UTC
Merge branch 'jh/filter-empty-contents' into maint
Tip revision: 070d276
File Mode Size
nedmalloc
poll
regex
vcbuild
win32
apple-common-crypto.h -rw-r--r-- 2.5 KB
basename.c -rw-r--r-- 334 bytes
bswap.h -rw-r--r-- 4.6 KB
fopen.c -rw-r--r-- 931 bytes
gmtime.c -rw-r--r-- 605 bytes
hstrerror.c -rw-r--r-- 513 bytes
inet_ntop.c -rw-r--r-- 4.8 KB
inet_pton.c -rw-r--r-- 6.8 KB
memmem.c -rw-r--r-- 752 bytes
mingw.c -rw-r--r-- 53.8 KB
mingw.h -rw-r--r-- 13.2 KB
mkdir.c -rw-r--r-- 468 bytes
mkdtemp.c -rw-r--r-- 153 bytes
mmap.c -rw-r--r-- 692 bytes
msvc.c -rw-r--r-- 113 bytes
msvc.h -rw-r--r-- 570 bytes
obstack.c -rw-r--r-- 13.8 KB
obstack.h -rw-r--r-- 19.1 KB
pread.c -rw-r--r-- 433 bytes
precompose_utf8.c -rw-r--r-- 4.5 KB
precompose_utf8.h -rw-r--r-- 1.3 KB
qsort.c -rw-r--r-- 1.1 KB
setenv.c -rw-r--r-- 857 bytes
snprintf.c -rw-r--r-- 1.5 KB
stat.c -rw-r--r-- 1.1 KB
strcasestr.c -rw-r--r-- 431 bytes
strlcpy.c -rw-r--r-- 247 bytes
strtoimax.c -rw-r--r-- 214 bytes
strtoumax.c -rw-r--r-- 217 bytes
terminal.c -rw-r--r-- 2.5 KB
terminal.h -rw-r--r-- 142 bytes
unsetenv.c -rw-r--r-- 591 bytes
win32.h -rw-r--r-- 878 bytes
win32mmap.c -rw-r--r-- 907 bytes
winansi.c -rw-r--r-- 13.9 KB

back to top