Fix log parse logic

This commit is contained in:
Hylke Bons 2012-07-26 20:17:01 +02:00
parent 5290414866
commit 5e9d260409

View file

@ -608,7 +608,7 @@ namespace SparkleLib.Git {
file_path = EnsureSpecialCharacters (file_path);
file_path = file_path.Replace ("\\\"", "\"");
if (!type_letter.Equals ("R")) {
if (type_letter.Equals ("R")) {
int tab_pos = entry_line.LastIndexOf ("\t");
file_path = entry_line.Substring (42, tab_pos - 42);
string to_file_path = entry_line.Substring (tab_pos + 1);