From 5fc5929e2f731eef3bae4cf88cbe48b97c385363 Mon Sep 17 00:00:00 2001 From: Uwe Hees Date: Fri, 15 Apr 2011 12:36:05 +0200 Subject: [PATCH] Follow name changes when searching for file paths to get the full history. --- PBHistorySearchController.m | 1 + 1 file changed, 1 insertion(+) diff --git a/PBHistorySearchController.m b/PBHistorySearchController.m index d59db39..e028563 100644 --- a/PBHistorySearchController.m +++ b/PBHistorySearchController.m @@ -410,6 +410,7 @@ [searchArguments addObject:[NSString stringWithFormat:@"-S%@", searchString]]; break; case kGitXPathSearchMode: + [searchArguments addObject:@"--follow"]; [searchArguments addObject:@"--"]; [searchArguments addObjectsFromArray:[searchString componentsSeparatedByCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]]; break;