20c3f14cc8
from the commit(s) from issue 633. The diff parser assumed a properly formatted diff that denotes empty context lines with a single space in the first column. This single space however was missing, because the hg and git backends got the diff through PHP's exec() function and this returns already line-splitted output, but - and this is the actual problem - removes trailing whitespace at the end of each line, essentially making " \n" only "\n". When splitting this string now again with PREG_SPLIT_NO_EMPTY the empty line was completely lost in the diff output. To make it clear that an empty line does not mark a context line now, but should stop the diff parsing, the Diff parser now also defaults to 'false' as line type. This commit fixes issue 688. |
||
---|---|---|
contrib/zipstream-php-0.2.2 | ||
doc | ||
logo | ||
scripts | ||
src/IDF | ||
test | ||
www | ||
.gitattributes | ||
.gitignore | ||
AUTHORS | ||
CONTRIBUTE.mdtext | ||
COPYING | ||
INSTALL.mdtext | ||
Makefile | ||
NEWS.mdtext | ||
phpunit.xml | ||
release-script | ||
run-tests |