added code to ignore a line beginning with a backslash in parsing the diff output
This commit is contained in:
parent
af0ff51997
commit
a8f5e0a30e
@ -399,6 +399,14 @@ class SubversionModel extends Model
|
|||||||
|
|
||||||
switch ($mod)
|
switch ($mod)
|
||||||
{
|
{
|
||||||
|
case "\\":
|
||||||
|
// ignore it .
|
||||||
|
// subversion seems to procude a like like this:
|
||||||
|
// \ No newline at the end of file
|
||||||
|
//
|
||||||
|
$index--;
|
||||||
|
break;
|
||||||
|
|
||||||
case "-":
|
case "-":
|
||||||
$listing[$index]["rev1diffclass"] = "diffdeleted";
|
$listing[$index]["rev1diffclass"] = "diffdeleted";
|
||||||
$listing[$index]["rev2diffclass"] = "diff";
|
$listing[$index]["rev2diffclass"] = "diff";
|
||||||
|
Loading…
Reference in New Issue
Block a user