Re: git-apply fails on creating a new file, with both -p and --directory specified
From: Junio C Hamano <hidden> Date: 2016-06-15 22:47:51
Jeff King [off-list ref] writes:
OK, here it is with the test and an amended commit message. You could
almost do an [e]dit on this and delete the "deleted" line, but you have
no way of fixing up the "+++ /dev/null" line. For now, we have
disabled [e]dit entirely for non-content hunks, so at least you cannot
get yourself into trouble creating a broken patch. :)