]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/commit
Specifying a leading diff context size larger than the available
authorcarstenklapp <carstenklapp@96ab9672-09ca-45d6-a79d-3d69d39ca109>
Thu, 2 Jan 2003 22:51:43 +0000 (22:51 +0000)
committercarstenklapp <carstenklapp@96ab9672-09ca-45d6-a79d-3d69d39ca109>
Thu, 2 Jan 2003 22:51:43 +0000 (22:51 +0000)
commit28ee30d0481358a9a6f81f3e1626da9c0b1c3f2a
tree17e0eec99d89768981606f2b2ed3d191d390ca26
parentdb76e3ff9c9c84e0cb36dc29feb31eb62ff81e6e
Specifying a leading diff context size larger than the available
context now returns the available number of lines instead of the
default. (Prevent negative offsets to array_slice() when $nlead >
sizeof($context)). Added BlockDiffFormatter, to be used by future
enhancements to reload / upgrade pgsrc.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2476 96ab9672-09ca-45d6-a79d-3d69d39ca109
lib/difflib.php