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