Skip to content

Commit 5fc5929

Browse files
Uwe Heesuhees
authored andcommitted
Follow name changes when searching for file paths to get the full history.
1 parent ff1cf32 commit 5fc5929

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PBHistorySearchController.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ - (void)startBackgroundSearch
410410
[searchArguments addObject:[NSString stringWithFormat:@"-S%@", searchString]];
411411
break;
412412
case kGitXPathSearchMode:
413+
[searchArguments addObject:@"--follow"];
413414
[searchArguments addObject:@"--"];
414415
[searchArguments addObjectsFromArray:[searchString componentsSeparatedByCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]];
415416
break;

0 commit comments

Comments
 (0)