Junio C Hamano <gitster@xxxxxxxxx> writes: > We _could_ add -E option to "git apply" and pass that through "git am" to > support projects like the kernel where 0-byte files are forbidden. A > patch to do that shouldn't be too involved. I ended up doing something a bit more useful. A two-patch series follows shortly.